Commit f90aea22 authored by Alexander Alekhin's avatar Alexander Alekhin

cuda: fix build (legacy C-API usage)

parent bd98ed46
...@@ -373,7 +373,7 @@ namespace ...@@ -373,7 +373,7 @@ namespace
// Discard under-size foreground regions: // Discard under-size foreground regions:
d_foreground.download(h_foreground); d_foreground.download(h_foreground);
IplImage ipl_foreground = h_foreground; IplImage ipl_foreground = cvIplImage(h_foreground);
CvSeq* first_seq = 0; CvSeq* first_seq = 0;
cvFindContours(&ipl_foreground, storage, &first_seq, sizeof(CvContour), CV_RETR_LIST); cvFindContours(&ipl_foreground, storage, &first_seq, sizeof(CvContour), CV_RETR_LIST);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment