mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
cuda: fix build (legacy C-API usage)
This commit is contained in:
parent
bd98ed46bd
commit
f90aea22b1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user