1 | initial version |
just saying, please put this line in fron of the while loop:
BackgroundSubtractorMOG2 bgsubtraction = Video.createBackgroundSubtractorMOG2();
(it's useless, if you create a new instance for each frame)
2 | No.2 Revision |
just saying, please put move this line in fronfront of the while loop:
BackgroundSubtractorMOG2 bgsubtraction = Video.createBackgroundSubtractorMOG2();
(it's useless, if you create a new instance for each frame)
3 | No.3 Revision |
just saying, please move this line in front of the while loop:
BackgroundSubtractorMOG2 bgsubtraction = Video.createBackgroundSubtractorMOG2();
(it's (it has to learn a model from several images, so it's useless, if you create a new instance for each frame)
4 | No.4 Revision |
just saying, please move this line in front of the while loop:
BackgroundSubtractorMOG2 bgsubtraction = Video.createBackgroundSubtractorMOG2();
(it has to learn a model from several images, so it's useless, if you create a new instance for each frame)