Executing ExifTool in Anaconda (Python) with MicaSense sensor

Started by Student14, June 27, 2022, 11:16:41 AM

Previous topic - Next topic

Student14

Hello,

Please excuse my tech grammar, I'm new to coding and forums. I'm using the ExifTool to process imagery collected by the MicaSense dual camera system (10 bands). I have successfully downloaded the ExifTool and used it in a previous script to write the metadata needed to correct each image for roll, pitch, yaw, and orientation, etc. I'm now working through the radiometric correction workflow provided by MicaSense (https://micasense.github.io/imageprocessing/MicaSense%20Image%20Processing%20Tutorial%201.html). I hit an error in [3]: Import micasense.metadata as metadata. The error reads "ModuleNotFoundError: No module named 'exiftool'." I also triple checked I setup exiftool properly following these instructions https://micasense.github.io/imageprocessing/MicaSense%20Image%20Processing%20Setup.html. What am I missing?

Any advice is much appreciated. Thank you.

StarGeek

It most likely that exiftool isn't in the PATH env variable as seen by your program.

Try setting the part that says
exiftoolPath = None
to the full path to exiftool.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).