Comments (3)
SOLUTION:
The problem is in the SPI buffer size. The default value is 4096 but 160x120 images from Lepton3 are bigger.
You need to increase the size of the SPI buffer as explain here
Edit
/boot/cmdline.txt
and add in the end:
spidev.bufsiz= 65535
Then reboot your raspberry and check it worked with:
cat /sys/module/spidev/parameters/bufsiz
Hope it works for you also. Maybe this information should be in the README setup tutorial
Hi,
Thank you for your solution. I have tried this but the I couldn't change the buffer size. However, I solved this the opposite of your solution which is by reducing the message size of the library. SPIDEV_MESSAGE_LIMIT = 24 to 8 of Lepton.py. I hope this helps someone.
from pylepton.
SOLUTION:
The problem is in the SPI buffer size. The default value is 4096 but 160x120 images from Lepton3 are bigger.
You need to increase the size of the SPI buffer as explain here
Edit /boot/cmdline.txt
and add in the end:
spidev.bufsiz= 65535
Then reboot your raspberry and check it worked with:
cat /sys/module/spidev/parameters/bufsiz
Hope it works for you also. Maybe this information should be in the README setup tutorial
from pylepton.
I have the same error.
raspberrypi_video from LaptonModule is also working for me but not this library.
I am using Lpeton 3.5 with breakoutboard v2.0 on Raspberry Pi 4.
OS: Raspbian Buster
Kernel: 5.4.72-v7l+
Python: 3.7.3
Any solution?
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.