stawel / ht301_hacklib

ht-301 thermal camera opencv lib
GNU General Public License v3.0
56 stars 31 forks source link

Support for more hti-301 devices & with statements #6

Closed sumpster closed 1 year ago

sumpster commented 1 year ago

My hti-301 seems to report its device id using a different device string, this string is now checked as well. Also for more reliable resource release and convenience I added magic methods to allow: with ht301_hacklib.HT301() as cap: ret, frame = cap.read() ...