Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: Guillaume on May 14, 2013, 12:42:36 PM
-
Hi,
I use PYTHON API for import my pictures in my chunk but for all picture add there are two pictures...
My Code :
workspace = PhotoScan.app.document
my_chunk = PhotoScan.Chunk()
my_chunk.label = "My Chunk"
my_chunk.cameras.add(photo_path+"R0010414.JPG")
workspace.chunks.add(my_chunk)
In my chunk:
"R0010414.JPG" : (3956x2756) it's ok :)
"R0010414.JPG [2]" : (640x480) it's a thumbnail picture... :(
How can I import only R0010414.JPG ?
-
I found that this happened when i dragged and dropped images into photoscan that had already been rotated 90 degrees externally (in my case rotated in windows explorer).
I haven't tried python scripting yet, but i think it is likely the same cause.
EDIT: Having said that, I can't now recreate the problem, maybe it was fixed in the latest release?