groupgets / pylepton

Quick and dirty pure python library for interfacing with FLIR lepton
MIT License
208 stars 94 forks source link

Using Lepton3 #14

Closed hjpagan closed 6 years ago

hjpagan commented 7 years ago

Hello, I was using pylepton to power my Lepton but have since bought he new Lepton3 sensor and put it on my current raspberry pi 3 setup. I am trying to understand how to update pylepton for it to work with the Lepton3. I pulled the branch with Lepton3 changes and when I run the pylepton_overlay example it seems to be using Lepton.py and not Lepton3.py to execute. This causes jitter and a weird flashing in the overlay which I assume is from the lack of buffer size for the new Lepton3. I am new to python so this is why I am feeling lost, I have been reading different sources but still can't figure it out.

Can someone point me in the right direction so I can get the Lepton3 working correctly using pylepton?

Thank you!

kekiefer commented 6 years ago

Until recently, the overlay example didn't try to use the Lepton3 module. A user contributed #18 which basically integrates this module, but don't expect flawless performance out of it.