mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
added Ptr::operator==
This commit is contained in:
@@ -41,7 +41,7 @@ void CV_BackgroundSubtractorTest::run(int)
|
||||
Algorithm::create<BackgroundSubtractorGMG>("BackgroundSubtractor.GMG");
|
||||
Mat fgmask;
|
||||
|
||||
if (fgbg == NULL)
|
||||
if (fgbg.empty())
|
||||
CV_Error(CV_StsError,"Failed to create Algorithm\n");
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user