Closed tannerliu347 closed 5 years ago
I have the same issues. It seems, no one able to help!
Hi tannerliu347, If have anything new, please let me know. I do the same.
Thanks
@eKawlan Hello ekawlan. I had luck using the lepton 3-dev branch. The video streaming still loses frame frequently, but the capture function works.
Agree, this is what it looks like when you're using Lepton 2 code to read from a Lepton 3.
Hello @tannerliu347 -
Did you happen to get L:epton 3/3.5 up and running using lepton-3 dev? In other words, you are getting full 160*120 packets out without any issues?
Thanks, akshay
I tried using master, lepton3 branch and lepton3-dev branch. I can get an output image by using master branch, but the image looks distorted. With lepton3 and lepton3-dev branch, I kept getting Lepton3 object has no attribute '_msg_size' error. Traceback (most recent call last): File "/usr/local/bin/pylepton_capture", line 37, in
image = capture(flip_v = options.flip_v, device = options.device)
File "/usr/local/bin/pylepton_capture", line 9, in capture
with Lepton3(device) as l:
File "/usr/local/lib/python2.7/dist-packages/pylepton/Lepton3.py", line 32, in init
self._xmit_buf = np.zeros((self._msg_size Lepton.ROWS 4), dtype=np.uint8)
AttributeError: 'Lepton3' object has no attribute '_msg_size'
Any thoughts will be appreciated. Thanks