Update hull_demo.cpp
authorCartucho <joaocartuchoo@gmail.com>
Mon, 22 Aug 2016 11:45:24 +0000 (13:45 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Aug 2016 11:45:24 +0000 (13:45 +0200)
The Mat "src_copy" is never used.

samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp

index 7fe5b71..e583791 100644 (file)
@@ -49,7 +49,6 @@ int main( int, char** argv )
  */
 void thresh_callback(int, void* )
 {
-  Mat src_copy = src.clone();
   Mat threshold_output;
   vector<vector<Point> > contours;
   vector<Vec4i> hierarchy;