Skip to content

cmair/ht301_hacklib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ht301_hacklib

ht-301 thermal camera opencv python lib.

This fork is a hack to support InfiRay T2S+! Note: measuring higher temperatures than +116°C does not work!

Important note: upstream now got a lot of improvements including a proper version of my hacks to support T2S+.

Please use https://github.com/stawel/ht301_hacklib instead of this old fork!


Supported thermal cameras:

  • Hti HT-301
  • Xtherm T3S, thanks to Angel-1024!

It's a very simple hacked together lib, might be useful for somebody,
uses matplotlib which is a little bit on the slow side,
or pure opencv - much faster but without most features

Tested on ubuntu 20.04:

$ ./pyplot.py
keys:
    'h'      - help
    'q'      - quit
    ' '      - pause, resume
    'd'      - set diff
    'x','c'  - enable/disable diff, enable/disable annotation diff
    'f'      - full screen
    'u'      - calibrate
    't'      - draw min, max, center temperature
    'e'      - remove user temperature annotations
    'w'      - save to file date.png
    'r'      - save raw data to file date.npy
    ',', '.' - change color map
    'a', 'z' - auto exposure on/off, auto exposure type
    left, right, up, down - set exposure limits

mouse:
    left  button - add Region Of Interest (ROI)
    right button - add user temperature annotation

pyplot output pyplot output

View saved ('r' key) raw data file:

$ ./pyplot.py 2022-09-11_18:49:07.npy

Opencv version:

$ ./opencv.py

opencv output

About

ht-301/t2s thermal camera opencv lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%