Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mindful_drone

Pages: [1]
1
Python and Java API / Re: Access Tweaks outside of Metashape GUI?
« on: June 09, 2022, 04:54:21 PM »
Hi Alexey,

This saved us so much trouble, thank you so much!

Best regards

2
Python and Java API / Access Tweaks outside of Metashape GUI?
« on: June 03, 2022, 01:44:38 PM »
Hi Alexey, all,

Is there a way to set tweaks flags using the Python API outside of the Metashape application/GUI?

I'd like to use the tweak to use the old depth maps functionality (specifically BuildDepthMaps/pm_enable) in a Python script, but the settings don't actually update outside of the GUI/application environment when I set them.

Screenshots attached to show behaviour inside vs outside of the GUI. From the GUI in white, and outside of GUI in dark mode.

3
Python and Java API / Access OrthoPhotos Before Export?
« on: November 03, 2021, 11:29:51 AM »
Hi All,

Is there anything in the API that would allow me to access orthophotos in Python without me first having to export them using chunk.exportOrthophotos and then read them in again later?

Apologies if this information exists elsewhere - couldn't find anything about this in the forum/API docs.

Kind regards,

4
Hi Alexey,

Thanks very much for the quick response - much appreciated. Will look into this and post back when I've rounded things out.

5
Greetings all,

New Metashape user here.

I Want To:
  • Use a saved project file for an already stitched ortho to get transform information for individual images/cameras,
  • Project those images onto the plane of the earth,
  • Calculate exactly which portions of neighbouring images overlap with one another.
Is there a straightforward way to access or calculate this using the Python API?

If there's a simpler way to find/access these intersections, of course I'm all ears as well.

Extra Context:

We have a pipeline where we take RGB & MSP images flown over farm land, and then stitch those together using Metashape following the usual flow of:
  • Aligning the images,
  • Optimising camera alignment,
  • Building a dense cloud,
  • Creating a 3D model,
  • Building the ortho.

I want to use the project file from this process to either access or calculate exactly how each image overlaps with all the images that it intersects with.

Kind regards

Pages: [1]