Hello everyone! This is my first ever post on this thread, and even on this forum

. I'm an undergrad CS major and am currently doing a personal project involving these sensors (this is one of my first ever "major" open source contributions, so constructive criticism is welcome).
I currently have a TS001 and attempted to use the "PyThermalCam" script written by Les Wright (original forum post:
https://www.eevblog.com/forum/thermal-imaging/infiray-and-their-p2-pro-discussion/msg4949002/#msg4949002) to just test the system. Unfortunately, it did not quite work immediately with my system (Windows 11, Python 3.12.4). I figured out the solution(s) through tweaking the code and removing certain drivers, but while doing so thought I just might as well continue where Les left off and hopefully help others in the process.
I have forked, refactored, and overall cleaned up the program. It is now much more readable, largely follows OOP principles, and is pretty modular. It practically constitutes as a rewrite. I am still in the process of refactoring, and there are absolutely still issues (specifically with the sensor temperature calculation), but the overall functionality of the program works and I was able to test out my TS001.
This fork is specifically designed to work for the
TS001 on
Windows with newer versions of Python and OpenCV; however, it
hypothetically should work with TC001 and Linux too. I will be actively updating this repo with changes, fixes, and additions over the next few days/weeks.
Anyways, I hope it helps someone struggling like I was for a while. It's 2am now, so I'm sleeping. Cheers, all!
GitHub Repo:
https://github.com/m-riley04/PyThermalCamera-Windows