Thermal imaging camera

Tried some things and it appears that it is not shown when using a light theme/ambience. I have started using the Snow White ambience during daytime, and I was also able to reproduce with the Glacial ambience.

Switching to a dark ambience makes the button appear, and it also works - probably also with the lighter ambiences although I didn’t try it.

2 Likes

Well spotted!
That’s fixed now - and should appear in the next release. It appears i’m lacking access to the project in chum-testing, but hopefully just a matter of time.

2 Likes

I’m not sure I follow what you mean. But I should have made it clear that I tried the P2Pro Viewer on my (Kubuntu) desktop. I’ve installed python3-usb, python3-opencv, python3-pyudev, and ran it as root. It works fine, and you can switch the camera from high to low gain using l and h. The difference is visible. The mentioned PR should add some extra features.

I’ve tried running it on the phone, alas, there at least the python usb package is currently missing from the repos, so it can’t just run as-is due to the missing Python modules. And I’m not sure if it even can run direct on Wayland anyway.

Did you maybe reply to the wrong post?
The one you replied to was just me noting that the capture button must have existed and worked for you.

Good to know you find that setting useful - i’ll check it out.
Any of the others that seems particularly useful?

Ah, yes, now that makes sense :smiley: Indeed the capture button was visible, I’m using dark-themed ambiances.

The camera has auto-calibration, the clicking sound you occasionally hear. Most notable the first minute or so after plugging it in. After a while, this stops, or at least it drops in frequency, but the measured temperature might drift. The Android app has manual trigger for the calibration, after which the measured temperature can shift a degree or two. Can’t really tell if that makes it better, but hey, calibration sounds good.

Not sure which of the commands mentioned in that PR it actually is tho. And, I can’t tell if it’s worth the trouble. For me the camera is mostly gimmick, on occasion it’s useful, but personally I don’t need the accuracy. I’m already very happy that you’ve made a functioning app at all!

Installed v0.5 from chum, and works fine with light themes now :smiley:

2 Likes

I can’t get P2Pro-viewer to work. The main.py program sort of does something and i have some old capture left over from it - but it seems to be the gui that can do settings. I could hack it to start at all, but then i have no picture and controls are unresponsive. No error messages of course, i guess that costs extra.

But this, and the settings, works for you also on the TC001?

You wouldn’t happen to be able to see/trace/strace/… what these controls actually translate to in terms of ioctl or v4l2-ctl?

I also note that thermal-cat does not seem to have controls that talk to the camera.

Not perfectly on-topic, but why not have a simple thermal imaging camera inside a TOH? :wink:

Or veeery simple:

Both modules take 3.3V supply voltage and speak I²C - exactly what the TOH ecosystem requires.

I am actually the proud owner of a TOHIRI by @kimmolindholm thermal imager TOH for the Jolla 1. (Possibly the only other apart from his own and the one in Jolla’s hall of fame display cabinet - if they are not the same one even). It uses that same AMG8833. While very cool, i definitely prefer the USB-C connected modern cameras with higher resolution.

Crikey. 12 years ago. I feel old.

4 Likes

I’d swear I had that fork with extra command working at some point, but no-one seems to have properly listed the dependencies used, and I can’t even get it to work now :frowning: There are reasons I don’t choose Python anymore for projects, this is one of them.

Thank you for the app. Works great on Jolla 2 with latest sfos. Camera Infiray P2 Pro.

Feature request. On Android app there is high temperature mode. Would it be possible to implement? I guess not all the cameras are supporting that mode…

That’s exactly what the discussion just above here relates to. I can’t get a sample command for how to do that - if i could, i could look at implementing it.