home tags events about login
one honk maybe more

benjojo posted 14 Nov 2024 12:28 +0000

I have a better thermal camera for a few days, one of the infiray sensors that does not have the 9hz ITAR limits!

Little USB-C thing, and only requires a little bit of messing with to give some kind of output in Linux.

sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=0x02

Is needed, and then the UVC interface "works" (obviously without any of the post processing that is offered by the smart phone apps)

near 30FPS thermal performance is soooo nice, the extra resolution also is welcome

benjojo replied 15 Nov 2024 22:00 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/3248t37vFqbPxyk682

Ok, giving up with this thing, My remaining discovery is that you can ask for NV12 pixel format from the UVC device and get a automatically processed 0-255 greyscale output (See video for what the missile sees just before it blows me up).

However this output doesnt have the extra 4 magic lines that tell you the needed info on how to know how hot each pixel is.

All of the smartphone apps send a magic UVC zoom command (0x8004) to put it into a 16 bit integer value mode (i've not found a easy way to do this so I dont know what the output looks like), that is different to the "YUV"/green output, that I have previously posted.

All of the processing code in both the reverse engineering stuff and actual app uses this 16 bit int mode, so /shrug.

I don't want to write libuvc bindings, and this thing isnt even mine forever, so I'm calling it quits here, if I ever needed to make some cheap garden wildlife/aircraft targeting system then I would probs pick one of these up tbh, but for now. Meh.