Closed andredavys closed 3 years ago
Hello @andredavys . Forgot to mention it in the README, but if you're running this on Windows you'll have to do the following:
Let me know if this works for you
Hello @andredavys . Forgot to mention it in the README, but if you're running this on Windows you'll have to do the following:
- Download exiftool (for your OS) from here
- Extract 'exiftool(-k).exe' to the folder where you're running the code from
- Rename it to 'exiftool.exe'
Let me know if this works for you
It's work for me
Okay thanks for letting us know, closing this issue then
After run
pip install -r requirements.txt
, I tried to run thethermal_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?