Move cv::Mat out of core.hpp
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "opencv2/objdetect/objdetect.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/core/utility.hpp"
|
||||
|
||||
#include <cctype>
|
||||
#include <iostream>
|
||||
@@ -120,7 +121,7 @@ int main( int argc, const char** argv )
|
||||
for(;;)
|
||||
{
|
||||
IplImage* iplImg = cvQueryFrame( capture );
|
||||
frame = iplImg;
|
||||
frame = cv::cvarrToMat(iplImg);
|
||||
if( frame.empty() )
|
||||
break;
|
||||
if( iplImg->origin == IPL_ORIGIN_TL )
|
||||
|
Reference in New Issue
Block a user