LJMUAstroecology / flirpy

Python library to interact with FLIR camera cores
Other
191 stars 54 forks source link

Error "'split_file' is not defined" while calling flirpy.io.teax.process_file() #38

Closed uydtm closed 3 years ago

uydtm commented 3 years ago

Thank you for developing this package! It really is very useful.

I want to convert .TMC images to more common file formats (such as .tiff or .jpg). While trying to use the section flirpy.io.teax for this purpose, I came across an issue which I cannot seem to resolve. No matter how I try calling the function process_file() , I always receive an Error message: NameError: name 'split_file' is not defined.

Has anyone else ever encountered a similar problem?

jveitchmichaelis commented 3 years ago

TMC files are currently not supported, for now you need to use TeAx's software. I was able to partially reverse engineer the file format, but not to a point where it would be useful, unfortunately.

uydtm commented 3 years ago

Thank you so much for your quick response and clarification! I’m sorry to hear it isn’t possible. Maybe it would be best then to change the package description to exclude tmc where it says “Convert FLIR file formats (e.g. seq, fff, tmc, tfc) to geotagged readable images”?

jveitchmichaelis commented 3 years ago

https://github.com/LJMUAstroecology/flirpy/blob/master/README.md

Done! Sorry about that. I'm hoping at some point it'll be possible!

You might have better luck contacting the folks at Exiftool. They're very good at reverse engineering image formats.