Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flirpy Lepton3.5 breakoutboard RPI4 #14

Open
basavarajamogi opened this issue Jul 10, 2020 · 11 comments
Open

Flirpy Lepton3.5 breakoutboard RPI4 #14

basavarajamogi opened this issue Jul 10, 2020 · 11 comments
Labels
enhancement New feature or request

Comments

@basavarajamogi
Copy link

I am using RPI4 with breakoutboard and trying to grab images using Lepton 3.5 using flirpy.
I am getting following error when I am trying to run example program capture_lepton.py
Please let me know the solutions?
error:

Traceback (most recent call last):
File "/home/pi/flirpy/examples/capture_lepton.py", line 4, in
image = cam.grab()
File "/home/pi/.local/lib/python3.7/site-packages/flirpy/camera/lepton.py", line 156, in grab
self.setup_video(device_id)
File "/home/pi/.local/lib/python3.7/site-packages/flirpy/camera/lepton.py", line 97, in setup_video
raise ValueError("Lepton not connected.")
ValueError: Lepton not connected.

@jveitchmichaelis
Copy link
Contributor

The SPI breakout board is currently unsupported, sorry. Or are you using the PureThermal?

@basavarajamogi
Copy link
Author

The SPI breakout board is currently unsupported, sorry. Or are you using the PureThermal?

No, I am not using Pure thermal. I am using breakout board v 2.0. Is there any way out ?

@jveitchmichaelis
Copy link
Contributor

You'll have to use another library in the meantime. The place you bought the board from should be able to point in the right direction. Flir have some official documentation here:

https://lepton.flir.com/getting-started/raspberry-pi-lepton/

@basavarajamogi
Copy link
Author

You'll have to use another library in the meantime. The place you bought the board from should be able to point in the right direction. Flir have some official documentation here:

https://lepton.flir.com/getting-started/raspberry-pi-lepton/

Yes, I tried them all but those are all c libraries. I am not anyway good in c, so just finding something in Python. On tithun I found Python codes for image capture but I was looking for something simple as flirpy. You have made flirpy for almost everything. I think only breakout board is left out.

@jveitchmichaelis
Copy link
Contributor

jveitchmichaelis commented Jul 11, 2020

Have you tried the GroupGets library?
https://github.com/groupgets/pylepton

I should be able to add support for SPI in flirpy soon, but I don't use Leptons too often so it's not been a priority unfortunately (I'm also a bit limited in what cameras I can get my hands on, but I think I've got a breakout board somewhere).

Thanks for trying flirpy anyway, hopefully you'll be able to use it for your lepton soon :)

@basavarajamogi
Copy link
Author

Have you tried the GroupGets library?
https://github.com/groupgets/pylepton

I should be able to add support for SPI in flirpy soon, but I don't use Leptons too often so it's not been a priority unfortunately.

Yes, I tried that one... It works well....I am able to capture images but no temperature values, metadata for temperature

@jveitchmichaelis
Copy link
Contributor

Hmm OK, I'll see what I can do - I may have some time this weekend!

@basavarajamogi
Copy link
Author

Hmm OK, I'll see what I can do - I may have some time this weekend!

Yes, That will be great for me sir... Thanks

@jveitchmichaelis
Copy link
Contributor

The GroupGets library should return radiometric values though, it says the images should be 12 bit - is that not what you get?

@basavarajamogi
Copy link
Author

basavarajamogi commented Jul 11, 2020 via email

@yasin-aydn
Copy link

The SPI breakout board is currently unsupported

Hello,

Is breakout board still unsupported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants