micasense / imageprocessing

MicaSense RedEdge and Altum image processing tutorials
https://www.micasense.com
MIT License
247 stars 147 forks source link

AttributeError: 'NoneType' object has no attribute 'WriteArray' #184

Open thobaniha opened 2 years ago

thobaniha commented 2 years ago

Hi, I am receiving this AttributeError: 'NoneType' object has no attribute 'WriteArray' error from Batch Processing.ipynb the error arise in (Align images and save each capture to a layered tiff file) section and it is coming from capture.py line 541. I am confused about fixing it as I am doing the Tutorial. Any help please!

fdarvas commented 2 years ago

This means that the capture has no data - in order to solve this, more information is required - please not that you need to provide your own file path to an image set in the batch processing tutorial:

imagePath = os.path.expanduser(os.path.join('~','YOUR_DATA_PATH'))