-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capture of pixel temperature with Lepton 3.5 camera #44
Comments
Hi @GillesBra ! Glad you answer your questions:
while True:
data = q.get(True, 500)
print(ktoc(data))
Here are instructions to build your own: git clone https://github.com/groupgets/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make
cp libuvc.so ~/ai-thermometer/ir/libuvc_wrapper
libuvc.uvc_stop_streaming(self._devh)
libuvc.uvc_unref_device(self._dev)
libuvc.uvc_exit(self._ctx)
array([[32.56, 32.32, 32.36, ..., 31.93, 31.47, 31.77],
[32.52, 32.06, 32. , ..., 31.77, 31.47, 31.81],
[32.38, 32.36, 32.24, ..., 31.57, 31.53, 31.77],
...,
[31.77, 31.75, 32.32, ..., 31.11, 31.15, 30.81],
[31.75, 31.57, 32.12, ..., 31.03, 30.71, 30.89],
[31.77, 31.59, 31.77, ..., 31.11, 30.71, 30.73]])
That being said, I should add a proper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Tomasz,
Thank you very much for your answer concerning the script you have developped for temperature capture with Lepton 3.5.
Not being experienced in software development, I send you below a few questions:
How is captured the 16 bits flow of the Lepton camera ? Does the Python script command the camera (in line 47 to 67 or 218) ? Or do we have to send separate commands through the CCI channel ?
Which data contains the libuvc and how is it fed ?
Which command stops the flow ?
Have you an example of the temperature array (both link in your mail points to the script)
Which configuration is needed to run the script ? Is Lepton 3.5 with PureThermal2 connected via USB to a PC with windows 10 acceptable ?
Which software do we have to load (Python, openCV...) ?
Sorry to take your time by basic questions, but this could help the project a lot.
The text was updated successfully, but these errors were encountered: