Agisoft Metashape > Python and Java API

Export Photo Thumbnails

(1/1)

pyeah:
Hello,

Is there a way to export or to access the image thumbnails as generated by PhotoScan? In the API document, I see the option to list the thumbnails, but not to save or get the resulting paths.

Best regards,

Alexey Pasumansky:
Hello pyeah,

You can try this one (saves the thumbnail to the disk for the first camera):

--- Code: ---chunk = PhotoScan.app.document.chunk
camera = chunk.cameras[0]
im = camera.frames[0].thumbnail
im = im.image()
im.save("D:/image.jpg")
--- End code ---

Navigation

[0] Message Index

Go to full version