PiThermalCam
PiThermalCam copied to clipboard
Consider adding edge detection
Below question suggested adding edge detection and this looks possible in opencv as is. Research options to do this in the opencv mode and outside and add it as another overlay feature/option.
Thank you to @tomshaffner for writing such an interesting guide for the camera, including the discussions about the home insulation.
I am wondering if there was any scope for a feature of essentially either:
- Overlaying the thermal images on a live camera feed
- Incorporating the thermal camera edge detection feature implemented here: https://github.com/obstruse/ThermalCamera into the PiThermalCam software
It seems to me that the big problems are twofold:
- It's very hard to recognize what the MLX90640 sensor is pointing at -- the edge detection feature deals with that, allowing you to see the image behind
- The low fps of the sensor
Moreover, it seems to me that in most applications, like looking for insulation cold spots, we don't need high fps.
So I wonder if, instead of having to calculate edge detection, we would be better off simply overlaying the thermal colours onto a high fps camera feed. So you have your thermal colours refreshed every 1-4 fps say, while your webcam or picam is running at a faster fps.
Originally posted by @ThSGM in https://github.com/tomshaffner/PiThermalCam/discussions/23