Skip to content

Instantly share code, notes, and snippets.

@W-Net-AI
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save W-Net-AI/2d4c22fd95dc2678caee to your computer and use it in GitHub Desktop.
Save W-Net-AI/2d4c22fd95dc2678caee to your computer and use it in GitHub Desktop.
typedef vector<Mat> vector_Mat;
void cv_drawContours(Mat* image, vector_Mat* contours, int contourIdx, Scalar* color, int thickness, int lineType,
Mat* hierarchy, int maxLevel, Point* offset) {
cout << *contours[0] << endl;
cv::drawContours(*image, *contours, contourIdx, *color, thickness, lineType, *hierarchy, maxLevel, *offset);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment