Comments (7)
pylepton is just for the breakout board. You should look at https://github.com/groupgets/purethermal1-uvc-capture
from pylepton.
Try something like this:
def capture(device="/dev/spidev0.1"):
with Lepton(device) as l:
return (data, _ = l.capture())
from pylepton.
What was the problem here? Can we close this issue?
from pylepton.
Hi, I'm getting a similar error and can't resolve by substituting the device to device="/dev/spidev0.1. was this ever resolved? I don't really understand what my error means as well...
I ran the example usage code (saved the file on my machine as "test_pylepton.py") and tried to run it using python3 and got this error:
Traceback (most recent call last):
File "test_pylepton.py", line 5, in
with Lepton() as l:
File "/Users/.../GetThermal/pylepton/pylepton/Lepton.py", line 82, in enter
self.__handle = open(self.__spi_dev, "wb+", buffering=0)
PermissionError: [Errno 1] Operation not permitted: '/dev/spidev0.0'
Could you please advise what I'm doing wrong here?
My camera and setup work fine with GetThermal or other apps.
Any help would be very much appreciated
Thanks!
from pylepton.
GetThermal? Do you have a breakout board or a PureThermal board?
from pylepton.
Thanks for your reply @kekiefer. I have a PureThermal Mini connected to my mac over USB.
https://store.groupgets.com/products/purethermal-mini-flir-lepton-smart-i-o-module
I meant that I was able to follow the installation of the GetThermal app:
https://github.com/groupgets/GetThermal
And it works well with my camera, as well as just using it as a "normal" webcam with OBS. I'm interested in using the PureThremal mini with OpenCV+python to do some analysis and get temperature readings for each pixel. I was hoping to use pylepton to do so.
Thank you for your help!
from pylepton.
Check your cable setup. An incorrect setup will throw this error when using pylepton 3.0.
This guide from FLIR shows the correct GPIO setup: https://lepton.flir.com/forums/topic/pylepton-overlay-guide-2-0-for-raspbian-pixel/
from pylepton.
Related Issues (20)
- Running pylepton_capture using the Matlab raspberry pi support package
- Lepton3/3.5 using pylepton HOT 7
- RE: pylepton and error issues w/ Python3, BeagleBone Green, and LCD Display HOT 4
- Shutter closes and opens w/ Pi 4 HOT 2
- lepton 3.5 not working with RPi0W HOT 4
- Error: Inappropriate ioctl for device HOT 8
- groupgets/LeptonModule Works, pylepton does not
- [Errno 25] Inappropriate ioctl for device HOT 1
- poor quality images HOT 1
- Estimate peak temp from sides and center pixels of Lepton 2.5 HOT 1
- Lepton 3/3.5 with Breakout board v2.0 HOT 1
- FLIR Lepton 3.5 with PyLepton in Jetson Nano HOT 5
- all of a sudden the camera started producing these artefacts. Does it mean it is damaged or it could be the library?
- Working With Mac M1 with MacOS 12.2
- Lepton3 - Module is not callable HOT 2
- Extrange range temperatures using Lepton3 HOT 1
- pylepton_overlay error Raspbian Bullseye
- Jetson Xavier NX and Lepton 2.5
- flir
- setup.py error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylepton.