Thanks Alexey,
but for my needs it does not work!
I am trying to use addFolder with Multicamera layout where I have 277 RGB images and 277 corresponding thermal tif images
so I used following:
photos = find_files(path, [".jpg", ".jpeg", ".tif", ".tiff"])
photos[0:4]
Out[10]: 2022-05-02 09:47:33
2022-05-02 09:47:33 ['C:/Users/paul.pelletier/Downloads/Duet_T/img/rgb\\IX-x1-00057_0278_0001.JPG',
2022-05-02 09:47:33 'C:/Users/paul.pelletier/Downloads/Duet_T/img/rgb/thm\\IX-x1-00057_0278_0001_THM.tif',
2022-05-02 09:47:33 'C:/Users/paul.pelletier/Downloads/Duet_T/img/rgb\\IX-x1-00057_0278_0002.JPG',
2022-05-02 09:47:33 'C:/Users/paul.pelletier/Downloads/Duet_T/img/rgb/thm\\IX-x1-00057_0278_0002_THM.tif']
chunk.addPhotos(photos,layout=ps.MultiplaneLayout)
2022-05-02 09:48:22 AddPhotos: layout = MultiplaneLayout
2022-05-02 09:48:22 Loading photos...
2022-05-02 09:48:47 Finished processing in 23.221 sec (exit code 1)
2022-05-02 09:50:15 Loading photos...
2022-05-02 09:50:15 Finished processing in 0.454 sec (exit code 1)
However, I get one camera with 544 planes instead of 277 cameras with 2 planes ..see following where Chunk1 is result of using the code and Chunk2 is result of using Add Folder in GUI with Multicamera system. ...
Is there a way to addfolder with multicamera system in Python API?