Santi-hr / UNI-T-Thermal-Utilities

Small script to extract raw temperature data from UNI-T thermal camera images.
MIT License
57 stars 5 forks source link

Use the temperature value #3

Open choo1234 opened 1 year ago

choo1234 commented 1 year ago

I will bring the temperature to work, Which variable must be used?

choo1234 commented 1 year ago

IMG_0127 - Copy

I want to use the maximum temperature in the green box, what should I do?

Santi-hr commented 1 year ago

The camera does not store directly the ROI value, however it is possible to extract it from the image. I added one function, "get_roi_temps" to help with this. Also added an example of use in "usageExample.py".

However, keep in mind that there could be errors/differences due to how UNI-T decided to store the temperature information on the grayscale images, for accuracy is best to stick to min, max and center temperatures.