Issue
What does the ...(1) do?
std::vector<std::vector<cv::Point>> tight_contour(1);
Solution
tight_contour is a std::vector object containing elements of type std::vector<cv::Point>. The (1) is constructing tight_contour to hold 1 initial default-constructed element.
Answered By - Remy Lebeau Answer Checked By - Dawn Plyler (PHPFixing Volunteer)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.