I am a beginner to device prototyping and software development so please bare with me.
I have bought and am trying to use a PT2 and 3.5 radiometric lepton to thermally image an electronic heating element circuit, the temperature range of the image is 200-80 degrees.
Once the thermal image is taken I want to be able to determine the temperature of each pixel (or temperatures within the area) (which as discussed in the forum seems a hard thing to do).
In addition I do want the ability to see the settings of the camera and adjust them (as people have done with the auto gain feature and radiometric modes/ compensation).
Finally the lepton is stated to have two gain modes, in high a range up to about 100 degrees, and in low gain a range upto about 300 degrees, how would I go about switching from low and high gain modes.
So far I am able to get a good stream of video through the PT2 UVC to VLC or to the PureThermalDemo software (although its features do not work).
Problem being to take capture through both of these software gives an output not in Y16 or in JPG/bitmap to then be analysed.
What I have also tried is:
GetThermal-0.1.2 - Tried to use with Qt but I am getting a Unsupported Windows toolchain, only Visual Studio 2010, 2012, and 2013 are supported error- I have visual studio 2013 installed ( Do I have to reinstall the compiler).
purethermal1-firmware-1.0.0-pt2 - Cant seem to get working.
purethermal1-uvc-capture-master - have been able to get the operncv-capture python script to work but the other python scripts output ( error: libusb not installed) although I have done everything I can to install it and verify it.
pylepton- I get:
When running Lepton.py.
Traceback (most recent call last):
File "C:\Users\inghamj3\Desktop\Thermal camera downloads\pylepton-master\pylepton\Lepton.py", line 9, in <module>
from .ioctl_numbers import _IOR, _IOW
ValueError: Attempted relative import in non-package
When running setup.py
Traceback (most recent call last):
File "C:\Users\Desktop\Thermal camera downloads\pylepton-master\setup.py", line 6, in <module>
import pylepton
File "C:\Users\Desktop\Thermal camera downloads\pylepton-master\pylepton\__init__.py", line 4, in <module>
from .Lepton import Lepton
File "C:\Users\Desktop\Thermal camera downloads\pylepton-master\pylepton\Lepton.py", line 10, in <module>
from fcntl import ioctl
ImportError: No module named fcntl
I have also tried Max's DIY thermocam software, specifically the thermal analysis software, it works in a way but I cant take the y16 jpg to then analyse and it throws up my antivirus for some reason.
Being new to Python, MatLab and application programming like this seems to make this quite hard and due to the complexity of the different modules you have to download and try to get working I am really struggling, if anyone can help with this then That would be much appreciated, If I finally get to the end of this I may write a begginers guide to getting set up as their seems to be a lack of foolproof documentation on this.
If anyone if very experienced in this and knows exactly how I can get up and running I would be very keen to talk to you and need some tutoring through Skype if anyone is keen enough to help.
If there are any materials or documents that you would recommend me to read to learn more of how to do this please link it.
Thank you.