Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

background subtraction needs MANY frames to work on, you may not construct a new instance every time you want to use it. this line:

    BackgroundSubtractorKNN backSub = Video.createBackgroundSubtractorKNN();

should be moved into a "run once" function, like onCameraViewStarted()

have a look here, there''s a java sample, too !

background subtraction needs MANY frames to work on, you may should not construct a new instance every time you want to use it. this line:

    BackgroundSubtractorKNN backSub = Video.createBackgroundSubtractorKNN();

should be moved into a "run once" function, like onCameraViewStarted()

have a look here, there''s a java sample, too !

background subtraction needs MANY frames to work on, learn from, you should not construct a new instance every time you want to use it. this line:

    BackgroundSubtractorKNN backSub = Video.createBackgroundSubtractorKNN();

should be moved into a "run once" function, like onCameraViewStarted()

have a look here, there''s a java sample, too !