-
Notifications
You must be signed in to change notification settings - Fork 12
Temperature values for DJI ZH20T are not correct #14
Comments
For review + @agarwalkunal12 And @lvEnertis - can you share a sample image from the camera here? |
Can you zip it and attach it, like this? |
Here it is! |
Hello, Just writting to know if there is any update on this issue. Thank you! |
When you look into the function |
Hi, I tried using the metadata values only for Emissivity, ObjectDistance and RelativeHumidity, and it didnt work. From what I see the the redefinition of meta causes the image data to be ignored, so probably it should be removed or used in a different way. Thank you for looking into it. |
Removing the hard coded values will use the meta data values which are in the image data. As the execution flows through the utils.sensor_vals_to_temp() function too, even a completely empty meta dictionary will give you some results. That sensor_vals_to_temp function defaults the parameters too. I tried with Emissivity of the image (100), but that seems to mean 100%, and the results are surely wrong. |
Hi, I compared the results (removing the hard coded values) with those of DJI Analysis Tool, and the values a wrong. I also have tried the library below and it seems to return the correct values (at least for the few pixels I checks). I dont have much experience in this issue, but if you guys need any help, feel free to ask! |
I am testing the thermal_base library with some images from a DJI ZH20T, and the temperatures that I get are not what I was expecting.
Basically all the values exported in image.thermal_np are negative, and there shouldnt be any negative value for the image I am using.
Is there anything I am missing?
Is the convertion to celsius tested for the DJI cameras?
If you need one example of image, I can send to an email.
I tried attaching it here, but seems that we lose the metadata info.
Thanks!
The text was updated successfully, but these errors were encountered: