Giter VIP home page Giter VIP logo

Comments (5)

gtatters avatar gtatters commented on May 29, 2024

could you include sample image? Often these errors kick up from something with exiftool or assumptions I have had to make regarding the jpgs. Although I have added features and fixed other issues with readflirJPG, I usually preserve the defaults that typically work for older versions, I cannot guarantee that.

One bug I've never managed to get working across all platforms is dealing with white space in file names or folder names. Is it possible anywhere in your path that there is a space? I don't have an error check for that. But if you don't mind sharing an image I can look into it.

from thermimage.

cambriec avatar cambriec commented on May 29, 2024

FLIR0271

Here is a sample image I'm trying to convert.
I have also installed and reinstalled exiftool to see if that was the issue, but the error still occurs.
There aren't any white spaces in my directory or files, and that's more of an R thing where R doesn't like spaces. It's not just your package!

from thermimage.

gtatters avatar gtatters commented on May 29, 2024

hmmm...so, that file does not appear to be a radiometric jpg

Try the following from a terminal window (I renamed your file to test.jpg)

exiftool -*Planck* test.jpg

It returns nothing since there are no Planck constants saved in the file since it appears not to be a radiometric jpg. I don't use the FLIR C2 cameras, but I think they either

  1. do not have this capacity
  2. not research grade and thus FLIR prefers not to save them as radiometric jpgs as they might give the erroneous impression or accuracy, or
  3. the file was not saved as a radiometric jpg
  4. the file has been opened and resaved using another program.

Not sure what files you were using previously, but check them using exiftool -Planck to verify.

I have not added an error check for this. Might be required for the future.

from thermimage.

cambriec avatar cambriec commented on May 29, 2024

Ah, I see. Alright, thank you for the insight!

from thermimage.

gtatters avatar gtatters commented on May 29, 2024

sorry. :( I don't know what files you were previously analysing that were working. I would be very cautious about using a C2 for research purposes, unless it has a setting that allows you to save radiometric files. Even then I worry.

FYI, if there is a "~" in front of the spot temperature, that means that the camera is still "warming up" and the temperature estimates can be wildly off even the less than accurate values the consumer grade cams provide.

see here for a comparison of an iPhone FLIR one working in a laboratory environment and showing substantial variation from an accurate temperature:

https://tattersalllab.com/2016/03/01/thermal-camera-showdown-flir-one-vs-flir-sc660/

There may be ways to get accurate temperatures with these cameras, but would require some calibrations in the field and/or image to be certain.

from thermimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.