groupgets / pylepton

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

Set resolution for Lepton 3 #18

Closed Python1320 closed 6 years ago

Python1320 commented 6 years ago

This appears to not be enough to get the sensor work reliably, but it is a start. Not sure, which branch is being developed, so pulling to both.

kekiefer commented 6 years ago

Thanks for taking the time to submit this.

What are the remaining issues with this code? It's been a long time since looking at this, but if I recall it was pretty difficult to get the larger sensor to stay in sync while running everything through Python.

Also, in reviewing, I notice the overlay's crop parameter is still set to 80x60 (crop=(0,0,80,60)), does this matter?

Python1320 commented 6 years ago

You were right, I forgot to fixup crop. Now it works well enough to demonstrate that the sensor does work. One fifth of the frames are garbage still, though. This gets us started at least.

kekiefer commented 6 years ago

Sounds like a good start. Thanks!