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.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

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
...