detecttechnologies / thermal-image-analysis Goto Github PK
View Code? Open in Web Editor NEWDesktop tool for analysis of SEQ/FFF/RJPG thermographs
License: MIT License
Desktop tool for analysis of SEQ/FFF/RJPG thermographs
License: MIT License
Python[37635:313673] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x7fe9ea1dd020'
After run pip install -r requirements.txt
, I tried to run the thermal_analysis.py
script passing a jpg image as input. But I have the following error:
'exiftool.exe' is not recognized as an internal command. Traceback (most recent call last): File ".\thermal_analysis.py", line 25, in <module> obj = CFlir (flir_image_path,color_map=cv2.COLORMAP_JET) File "C:\Users\user\Documents\thermal\Thermal_Image_Analysis\CThermal.py", line 44, in __init__ self.thermal_np, self.raw_thermal_np, self.meta = self.extract_temperatures() File "C:\Users\user\Documents\thermal\Thermal_Image_Analysis\CThermal.py", line 145, in extract_temperatures meta = json.loads(meta_json)[0] File "C:\Users\user\OneDrive\Documents\Anaconda\envs\enviroment\lib\json\__init__.py", line 348, in loads return _default_decoder.decode(s) File "C:\Users\user\OneDrive\Documents\Anaconda\envs\enviroment\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\user\OneDrive\Documents\Anaconda\envs\enviroment\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
What exactly happened here?
Can you add support for the bmp. file format. A group of images can be analyzed together and customized colorbar ! thanks
This project is very helpful for me. I’m using a FLIR thermal camera and want to analyze the movies with Python. With this code I can open the seq files directly in python. I want to extract temperatures within all frames of one movie, therefore I have to open all frames after each other. Until now, I don’t figured out, how I can open other frames than the first.
I don’t require it to be implemented into this code, because I only want to read in the frames an work with them in Python by numpy.
Can you tell me, how I can get access to the later frames?
Kind regards
Stefan Reich
Hi, I am trying to run the command:
python thermal_analysis.py <flir_image_path>
but its throwing this error:
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x00000232575A1B88>
I did run requirements.txt and do the following:
Download exiftool ,
Extract 'exiftool(-k).exe' to the folder where I'm running the code from,
Rename it to 'exiftool.exe',
what do I do? Any kind of suggestions will be helpful. Thank you.
Hi, I am trying to run the command:
python thermal_analysis.py <flir_image_path>
but its throwing this error:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
what do I do? Any kind of suggestions will be helpful. Thank you.
Shifting from 87b8e72#commitcomment-55263620 to the Issues section
Hi,
I´m interested in finding a thermal image analysis software that can use .hir files from Seek Shot camera. Can your software use this format?
Tks, Roger
Roger - Not familiar with the format, can you provide any sample images from the Seek Shot camera?
Hi, thanks for the program, It's really helpful! Not sure I'm doing this right as I'm a newbie to github, but I was wondering if there is a way to add the possibility for the output file from the tool to output a TIFF file where each pixel value is its temperature in Kelvin (probably better than C as minus temperatures will be tricky with pixel values I guess?)
Additionally, and this is probably more difficult, but if there is a way to use the metadata from the rjpg to georeference the output image that would be super helpful. I take images of forest areas, so location is really important. If I had that then I could input it into GIS software and perform the analysis from there without manual georeferencing which takes a lot of time and I have thousands of images.
I'm attaching an rjpg and accompanying visual image as an example of an image that I'd love to have in K pixel value and georeferenced.
Thanks again :)
Hi,
there is a new File-SDK from FLIR which directly supports Python. It is available from the FLIR download page or here in GitHub under:
https://github.com/gcathelain/thermalcognition/tree/master/FLIR%20Science%20File%20SDK
Is there an interest for this project to switch to the file-SDK? I transvered my own code basing on this project with the new SDK and it is much faster than the split_by_marker!
I maybe couldd helpt with coding.
Hi, there is syntax error when I try to run main.py, can you check?
File "main.py", line 361
self.renderText(self.overlays, f"l{self.lineNum}", center)
^
SyntaxError: invalid syntax
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.