Skip to content

Added temporal smoothing and automatic temperature scale, not sure if should contribute back? #26

@DavyLandman

Description

@DavyLandman

Thanks to this great library and the example code I managed to make a nice heat-camera.

I've ended up extending the Thermal Cam Interpolate example by adding temporal smoothing and auto scaling of min-max values.

It measure every 200ms, and smooth the interpolated image by taking the average of the last 4 frames. This reduces the jumpiness a bit.

It also keeps track of the minimal and maximal values for the past 2 seconds, and auto scales the image based on those ranges (instead of a fixed range between 20 and 30).

For now it's here (as I'm using a different screen so had to change some code). Not sure if you would want to integrate it, but in case you would like to, here is the source: https://github.com/DavyLandman/esp-heat-camera/blob/main/src/heat-camera.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions