Opening files of seek thermal, therm app with matlab/python - Page 1
Forum section: electronics / general

author: matohak
author_rank: Contributor
timestamp: November 04, 2018, 09:15:06 pm
content: I've recently got a FLIR C3 but would like to get something with better thermal resolution.I'm looking at the Seek thermal reveal pro, compact pro, and therm-app.However I would like to know whether it is possible to batch obtain the raw sensor/temperature data produced by these cameras with Matlab/Python.(I can open the raw sensor data of my FLIR C3 with a Python script I find online.)

author: Ultrapurple
author_rank: Super Contributor
timestamp: November 05, 2018, 01:56:49 pm
content: If you use a Therm-App camera with ThermViewer or Therm-App Plus driver software you can definitely obtain raw sensor data. I will post an example.

author: Ultrapurple
author_rank: Super Contributor
timestamp: November 05, 2018, 02:09:48 pm
content: Here is a test image from my Therm-App Pro with ThermViewer software (which had superresolution to 1280x960 switched on - sorry), plus the raw temperature data as a text file, and a metadata file that describes the general setup (which I've edited to remove personal information, replacing certain digits with X). I have also been obliged to change the file name of the json metadata file to txt because this forum doesn't allow json files to be uploaded.If this sort of thing is useful, I'll repeat the exercise with at least one 384x288 Therm-App, with samples from ThermViewer and ThermApp Pro for both resolutions. Please let me know.I don't believe the stock Therm-App app includes the possibility of dumping raw data like this, although there is a readily available SDK that does give access to everything.

author: Ultrapurple
author_rank: Super Contributor
timestamp: November 05, 2018, 02:13:45 pm
content: Note that these raw data files almost certainly don't include the NUC data and are just dumps from the sensor - the Therm-App driver software stores the NUC, dead pixel and some other (unknown) data in the phone file system as nice and readily accessible text files. Let me know if you need those also.

author: IwuzBornanerd
author_rank: Frequent Contributor
timestamp: November 08, 2018, 01:06:00 am
content: The seek cameras do not directly output temperature data and there seem to be some people who say the output is not raw sensor data, but other than possibly averaging 4 sensor frames into each 9hz frame I don't think there is any processing of sensor data done on the camera. So I call it raw, particularly for the pro which can achieve >15fps, so it won't be averaging sensor frames.My Python code (which I just posted a revised version of herehttps://www.eevblog.com/forum/thermal-imaging/running-seek-thermal-cameras-(-others)-on-a-raspberry-pi/has code (about line 715) to output data as ASCII lists of values. In order to be useful data you would need to capture the most recent shutter frame data as well as the scene frame data and apply the non-uniformity correction factors and preferably the bias correction.My code as it is writes the shutter frame, scene frame, differences between those 2, NUC-corrected differences, and calculated temperature-above-minus-forty data to a file when prompted to by pressing the "l" key. So yes, you should be able to use Python to batch-save the data you need in order to process it however you want to later. My code does NOT, however, work with the Pro, but you could do that if you are adept with Python. You are really on your own as far as figuring out what the temperatures are unless you want to trust what I or someone else has published in software. Mine still needs some tweaking & confirmation of accuracy.I don't know if there is any way to get anything other than color images off of the Reveal. And I think all you can get out of a Seek app is color images.