Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

How do I read the output into a Python program?

0 votes
Hi,

I want to use a built-in Jevois module (object tracking) and get the results (x,y coordinates and size) in a python program on the client side. I want to do this real-time, so the camera feeds a stream of coordinates and the python program can use those to make decisions. I will be using this to drive a robot.

I am confused about how to get started - can anyone provide a simple starter program that lets me read the jevois output in a Python program? I'll have the camera directly plugged into the linux box running the Python program.

Thanks,

Miriam
asked May 31, 2018 in User questions by miriam (220 points)

1 Answer

+1 vote
 
Best answer
Thanks for asking! We just posted a tutorial for that:

http://jevois.org/tutorials/UserParseSerial.html

This should provide you with a start which you can modify for your own use. Also see http://jevois.org/tutorials/UserColorTracking.html for Python code that sends commands to JeVois.
answered Jun 5, 2018 by JeVois (46,580 points)
selected Jun 5, 2018 by miriam
...