|
excellent stuff. i'll test the algorithm on a b&w setup (I'll just use 1 channel for now). I'm hoping to do some this weekend, but I'll have some time this monday for sure as it's a bank holiday in the UK.
the code should makes some sense if read in conjunction with computer vision primer.
it sounds like you're looking at the image learnt rather than the foreground. I'm not sure if you messed with what is displayed. when you move in front of the camera, do you appear at all? check these in ProcessorTest:
// image = motionDetector.getBackground();
image = motionDetector.getForeground();
if you view the background, that'll show you the learnt model, so you can see it's learning correctly. the foreground will be the current frame minus the background (+ noise and other light variations)
Last edited by sama; 04-28-2006 at 03:35 AM.
|