Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python equivalent of vector<vector<point≫?< h3="">

Can't seem to find the equivalent of this:

 vector<vector<Point≫vectImage

as written by findContour. Is it vectImage = array{array{Point}}? If so can I:

  • Extract the Points (x and y)
  • Create a similar array: array{array{x,y,z}}
  • Append each Point's x and y values as well as an additional z

I hope I'm on the right track here, forgive my learning curve; I'm relatively new to programming at this level, let alone OpenCV.

Thank you for all the help :)