*lyakh:* | got the mlx90640 infrared camera working with a raspberry pi, so far it's - grab frames, use a custom program to convert to ppm, display. To have some kind of a live camera display, I guess, the easiest would be to write a gstreamer plugin? Basically I'm getting an array of 16-bit values, but they're (for my temperature range) between 0xff00 and 0xffff, so, have to shift and scale [13:05] *OFTC mchehab:* yeah, a gst plugin may help [13:06] *OFTC mchehab:* but as you'll likely want to display temperatures, perhaps you'll need to write an app (or patch an existing one) [13:06] *OFTC mchehab:* like camorama [13:06] *OFTC mchehab:* or cheese [13:06] *OFTC mchehab:* (it sounds that cheese has not been actively maintained those days) [13:08] *lyakh:* hmm, yeah, maybe. They had an application in fact, let me check if the source code was available... [13:12] *lyakh:* there's a python (because what else) viewer, using a python user-space driver... [14:52] *pinchartl:* lyakh: it may be possible to leverage the ISP to shift and scale the range. not sure if it accepts 16-bit inputs though [14:52] *pinchartl:* but as you don't care about the MSBs, it may be doable [14:55] *pinchartl:* I suppose it's a low resolution, if data is tranferred over I2C, so CPU-based processing should then be OK [16:16] *lyakh:* pinchartl: oh, yes, CPU is perfectly ok, here's an infrared selfie https://ibb.co/44JYkgW [16:17] *lyakh:* 32x24@10fps shouldn't be a problem for the RPi4 CPU [16:55] *pinchartl:* haha yes :-)
| [12:45]
|