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

Example for python with temperature and stream #6

Closed
kami83 opened this issue May 3, 2021 · 7 comments
Closed

Example for python with temperature and stream #6

kami83 opened this issue May 3, 2021 · 7 comments

Comments

@kami83
Copy link

kami83 commented May 3, 2021

Hi,

can you please give a python example how to decode the temperatures from the radiometric string?

Maybe you can also give an example how to show the stream with python?

Thanks a lot.

bg kami

@danjulio
Copy link
Owner

danjulio commented May 3, 2021

The python library is a work in progress and is not my area of expertise. The engineer who is helping me and I have plans for more demos. I will certainly take your suggestion into account but I cannot promise to make any particular type of demo.

@kami83
Copy link
Author

kami83 commented May 4, 2021

Hi, no problem i am working on it. Temperature is done now i am trying to watch the stream. If i can i would like to help.

BG kami

@danjulio
Copy link
Owner

danjulio commented May 7, 2021

I updated the python area with a new driver and set of examples. You'll have to upgrade your camera's firmware to v1.3 as it has new features the driver is using. One example displays an image and the others show how to decode the telemetry stream and communicate directly with the Lepton's CCI interface (be careful, easy to crash it).

@kami83
Copy link
Author

kami83 commented May 7, 2021

Hi,

thanks a lot. This is really great. Can you maybe give one more example with a video stream? Thanks a lot. Have a nice weekend.

BG kami

@kami83
Copy link
Author

kami83 commented May 10, 2022

Hi,

is it maybe now possible to give an example for video streaming with python?

BG kami

@bitreaper
Copy link
Contributor

Hi BG Kami, you should now be able to find a stream example in examples/streamtest.py. It is using the Tk library which is the easiest to install and most widely available. With pull request #26 you should be able to install tkinter and use it.

@kami83
Copy link
Author

kami83 commented May 19, 2022

Hi, thanks a lot. This great i will try it the next days.

BG kami

@kami83 kami83 closed this as completed May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants