UWARG Computer Vision
contour_comparison.h
Go to the documentation of this file.
1 
16 #ifndef CONTOUR_COMPARISON_H_INCLUDED
17 #define CONTOUR_COMPARISION_H_INCLUDED
18 
19 #include <opencv2/imgproc.hpp>
20 #include <vector>
21 
34 double compare_contours(std::vector<std::vector<cv::Point> > & contourA, std::vector<std::vector<cv::Point> > & contourB);
35 
36 #endif // CONTOUR_COMPARISON_H_INCLUDED
double compare_contours(std::vector< std::vector< cv::Point > > &contourA, std::vector< std::vector< cv::Point > > &contourB)
Compares two contours and returns their overlap.