libseek icon indicating copy to clipboard operation
libseek copied to clipboard

python wrapper for Frame object

Open asfin opened this issue 9 years ago • 1 comments

Also absolute temp readings and matplotlib visualization. Build with python3 setup.py build.

So, I wrapped your Frame object and now you can use thermal camera directly in python3(i think to add python2 support, some troubles in compiling with old C API). With matplotlib interface(./view-absolute.py) you can move your cursor to any point, and get absolute temp value(in lower left corner) or adjust coloring coef, to get nice picture.

I've approximated absolute values as linear func, but i'm not sure about values of coefficiens(and about linearity of function, but i think we can postpone this fact). Your lib use calibration, which adjust raw readings from sensor, so i'm got confused with this. Can you pick right coefficients for my module, or fix calibration function for eliminating adjusting from raw readings, so i can use temperature function coef like here - https://github.com/lod/seek-thermal-documentation/wiki/Temperature-Values

asfin avatar Feb 17 '16 19:02 asfin

Added py2 support.

asfin avatar Feb 18 '16 16:02 asfin