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.

cv2.drawContours

0 votes
Hi,

What is the API equivalent of cv2.drawContours with jevois API library ?

Regards
asked Mar 21, 2018 in Programmer Questions by nadirloutfi (230 points)

1 Answer

0 votes
 
Best answer
Sorry we don't have an equivalent to that at this time, only drawLine(). So you would need to iterate over your contour and draw a line segment for each pair of points in the contour.

http://jevois.org/doc/group__image.html#ga7cf2b2c4e6460835fbc671367a60feb9

If you are using python, see http://jevois.org/doc/ProgrammerPython.html for jevois.YUYV color definitions for YUYV colors.
answered Mar 21, 2018 by JeVois (46,580 points)
selected Mar 22, 2018 by nadirloutfi
...