Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Debug Assertion failed in GMM

$
0
0
**Thank you so much Derek~~**> But as I run the project which I has posted before, It said ![image description](/upfiles/14807684002363092.png) the code #include using namespace cv; int main(){ VideoCapture video(0); Mat frame, mask, thresholdImage, output; Ptr subtractor = cv::createBackgroundSubtractorMOG2(20, 16, true); namedWindow("background"); while (true){ video >> frame; subtractor->apply(frame, mask, 0.001); imshow("background", mask); char c = (char)waitKey(20); if (c == 27) break; } return 0; }

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>