Hi Alexey
In meta iv got something like this
camera.photo.meta
Out[62]: 2017-11-14 13:42:02 {'Exif/DateTime': '2017:10:20 08:02:47', 'Exif/DateTimeOriginal': '2017:10:20 08:02:47', 'Exif/ExposureTime': '0.00625', 'Exif/FNumber': '0', 'Exif/FocalLength': '0', 'Exif/FocalLengthIn35mmFilm': '0', 'Exif/ISOSpeedRatings': '10000', 'Exif/Make': 'SONY', 'Exif/Model': 'ILCE-5100', 'Exif/Orientation': '1', 'Exif/Software': 'ILCE-5100 v3.10', 'File/ImageHeight': '4000', 'File/ImageWidth': '6000', 'System/FileModifyDate': '2017:10:20 08:02:46', 'System/FileSize': '7897088'}
And will be nice to split it into several chunks
Thx a lot Alexey but my python skills are very bad
thats my code for now :
import os, PhotoScan
doc = PhotoScan.app.document
chunk = doc.addChunk()
chunk.label = "New Chunk"
# Ajout de photos -add photos 1st chunk
path_photos = PhotoScan.app.getExistingDirectory("main folder:")
image_list = os.listdir(path_photos)
photo_list = list()
for photo in image_list:
if photo.rsplit(".",1)[1].lower() in ["jpg", "jpeg", "tif", "tiff"]:
photo_list.append("/".join([path_photos, photo]))
chunk.addPhotos(photo_list)
print("- Photos ajoutées")
chunk = doc.addChunk()
chunk.label = "New Chunk 1"
# Ajout de photos - add photos 2nd chunk
path_photos = PhotoScan.app.getExistingDirectory("main folder:")
image_list = os.listdir(path_photos)
photo_list = list()
for photo in image_list:
if photo.rsplit(".",1)[1].lower() in ["jpg", "jpeg", "tif", "tiff"]:
photo_list.append("/".join([path_photos, photo]))
chunk.addPhotos(photo_list)
print("- Photos ajoutées")
print(">>> Script terminé <<<")