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.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Any OpenCV Python demo to stream data directly from JeVois as a UVC camera?

0 votes

Any OpenCV Python demo to stream data directly from JeVois as a UVC camera? 

I noticed from http://jevois.org/doc/ProgrammerPython.html

import libjevois as jevois

On my host, I actually built https://github.com/jevois/jevois from scratch.

But, it seems there is NO python-libjevois generated ? So, what python package should I build/install to generate a python module libjevois?

Thank you very much.

asked Jan 19, 2020 in Programmer Questions by jiapei100 (120 points)

1 Answer

0 votes
yes, there is no separate python-libjevois, both the C++ code and the python bindings are in libjevois.so

as far as a demo to behave like a dumb camera, start with the Python Sandbox module:


and just replace line 62 with:

outimg = inimg

which will simply copy the image from the sensor (inning) to the one that is sent over USB to the host computer (outimg).
answered Jan 28, 2020 by JeVois (46,580 points)
Oh, I see, you wanted to save frames from JeVois to the hard drive of the host computer. Thanks for posting, looks great!