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 - mwillis

Pages: [1] 2 3 ... 10
1
General / Re: List of assigned photos?
« on: July 09, 2022, 06:51:54 PM »
Hi Alexey, the script you wrote works fine with Patches but I actually used polygon when assigning the images.  I'm getting this error:

2022-07-09 10:47:26   File "C:/Users/Downloads/select_test.py", line 6, in <module>
2022-07-09 10:47:26     patch = chunk.orthomosaic.patches [shape]
2022-07-09 10:47:26 KeyError: <Shape '50'>
2022-07-09 10:47:26 Error: <Shape '50'>

What can I change to get it to work with polygons?  Sorry, not much programming skill on my end.

Thanks!

2
General / Re: List of assigned photos?
« on: July 06, 2022, 08:19:54 PM »
Alexey, you continue to be the greatest. Thank you.

3
General / List of assigned photos?
« on: July 06, 2022, 07:32:22 PM »
Hi, after assigning several images to an ortho, is it possible to auto generate a list of all the names of all the photos that where assigned?

Thanks!

4
General / Re: Autel Evo II photogrammetry experience?
« on: August 01, 2020, 03:37:34 AM »
I've been flying the EVO II 6k and the photogrammetry data is good.  Pretty much the same results as Mavic 2 Pro.

5
Bug Reports / Scrambled UVs on import
« on: February 06, 2020, 12:18:04 AM »
I am not sure if this is a bug or some change to the OBJ format.  So, I have a simple workflow of exporting out a high resolution OBJ from Metashape and then importing that in a third-party software for decimation.  Using the latest version of the Metashape, the UVs are lost (or highly messed up) when the low resolution OBJ is imported back into the software.  At first, I thought this was a problem in the third-party software.  I used a legacy version of Photoscan (1.2) and the same model exported and imported properly. So, the problem doesn't appear to be my workflow.

I think something is broken on the import tool.

6
Feature Requests / Re: create ortho from point/vertex colors
« on: December 21, 2019, 10:54:41 PM »
+1  This would be a great feature.

7
General / Re: Macro 3D reconstruction
« on: July 09, 2019, 12:04:15 PM »
Paul, extremely nice documentation.  Your effort is appreciated.

Mark

8
Python and Java API / Re: Deleting duplicate cameras
« on: July 07, 2019, 04:33:06 PM »
Sorry for the bother. I figured it out.

If someone in the future wonders what I did, I sorted by alignment in the Photo Pane, deleted all NA photos, and then ran the script above.  That left me with only one version of every camera that was aligned.

9
Python and Java API / Re: Deleting duplicate cameras
« on: July 07, 2019, 04:20:11 PM »
By the way, I tried this but it took away some photos that were properly aligned and left some that were not.

import Metashape, os

chunk = Metashape.app.document.chunk
print("start")
paths = set()
photos = list()
for camera in list(chunk.cameras):
      if camera.photo.path in paths:
             photos.append(camera)
      else:
             paths.add(camera.photo.path)

chunk.remove(photos)
print("finished. %d duplicates removed" % len(photos))


I believe what I actually need to do first is have the script delete all disabled cameras and then remove duplicates.  Is there a way to sort for disabled cameras?

Thanks again,

Mark

10
Python and Java API / Deleting duplicate cameras
« on: July 07, 2019, 04:02:18 PM »
Hi, there was a script in Photoscan to remove duplicate cameras (photos) from a chunk.  Is there a version of that script available for Metashape?

Thanks,

Mark

11
General / Re: Importing images from list in a text file
« on: January 20, 2019, 04:24:46 PM »
Thank you, sir!

12
General / Importing images from list in a text file
« on: January 08, 2019, 06:30:47 AM »
Hi, I am hoping someone can point me in the right direction.  I have a text file with a large number of photos that I would like to add to a new project.  The images are scattered across several partitions and for reasons that are complicated, I need to leave the images in their current directors.

Is there a way to automatically add files from a text file with the following syntax?

I:\Projects\Marsoulas\D31-D42.5\Wall_Base_Gilles\D37-39_Mos releve 2018Willis.jpg
I:\Projects\Marsoulas\D31-D42.5\Wall_Base_Gilles\D37_38_Connector releve 2018Willis.jpg
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8246.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8003.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8004.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8005.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8006.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8007.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8008.JPG
G:\Projects\Marsoulas\2014\Photos\Right\D33-39\9M7A8009.JPG
... files continue for hundreds of lines

Thanks for any help you can share.

Mark

13
General / Re: Thermal orthomosaic - Flir Duo Pro R
« on: July 25, 2018, 02:26:56 AM »
Hi Pkroks, I have had the same problem.  You won't hear me say this very often but Pix4D is the only app that I've found that will reliably build Flir data.

Since you also have the RGB data, you can build that in Photoscan and then replace the path with that of Flir imagery.

Hope that helps.

14
Bug Reports / Re: Issues with importing bundler.out alignment
« on: October 31, 2017, 11:00:27 PM »
Hi Alexey, I found the problem. It was to do with the number of photos, as you mentioned.

Thank you.

15
Bug Reports / Re: Issues with importing bundler.out alignment
« on: October 31, 2017, 05:55:28 PM »
Hi Risu, I am having the same error with Photoscan Pro 1.3.4. Built 5067.  Did you ever get it to work?

Thanks

Pages: [1] 2 3 ... 10