Merge pull request #12459 from alalek:fix_cuda_build

This commit is contained in:
Alexander Alekhin 2018-09-07 09:27:31 +00:00
commit f3fae0dae0

View File

@ -373,7 +373,7 @@ namespace
// Discard under-size foreground regions:
d_foreground.download(h_foreground);
IplImage ipl_foreground = h_foreground;
IplImage ipl_foreground = cvIplImage(h_foreground);
CvSeq* first_seq = 0;
cvFindContours(&ipl_foreground, storage, &first_seq, sizeof(CvContour), CV_RETR_LIST);