Closed kos8108 closed 3 years ago
Hi,
Did you change the permissions for the USB camera? (There's a short explanation in readme.md). Look under "possible issues" section.
On Fri, Aug 28, 2020, 1:09 AM kos8108 notifications@github.com wrote:
I am implementing ai thermometer with your kind explanation.
Now I am building the environment of Raspberry pi camera v2 & lepton2.5 & PureThermal2.
But nothing has happened since Uvc_open error -3 appeared after python3 main.py.
Can I know the solution?
Of course, the individual operation of each sensor was confirmed.
thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tomek-l/ai-thermometer/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHK36XE3UKBDHGZTJGII3TSC5QZ3ANCNFSM4QN3M7VQ .
Thank you so much.
It was executed with sudo without any problems.
Additionally, the temperature value of the ir sensor cannot be output, which part should I check?
Thank you always for your answer.
Hey,
So if you wish to read the temperature value, you will need to add something like this to the main loop:
print(ir_thread.frame.mean())
This will print the mean temperature of the 120x160 pixel array.
If you want to access the temperature of individual pixels, you'd do:
print(ir_thread.frame[0][0])
This way you'll access the value of the (0,0) pixel in degrees Celsius.
Hope this helps!
pt., 28 sie 2020 o 10:40 kos8108 notifications@github.com napisał(a):
Thank you so much.
It was executed with sudo without any problems.
Additionally, the temperature value of the ir sensor cannot be output, which part should I check?
Thank you always for your answer.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tomek-l/ai-thermometer/issues/4#issuecomment-682977590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHK36XK5NI6QCAJOKM3UQLSC7TYNANCNFSM4QN3M7VQ .
Closing for now, but feel free to reopen if you have any further questions!
I am implementing ai thermometer with your kind explanation.
Now I am building the environment of Raspberry pi camera v2 & lepton2.5 & PureThermal2.
But nothing has happened since Uvc_open error -3 appeared after python3 main.py.
Can I know the solution?
Of course, the individual operation of each sensor was confirmed.
thank you.