hey alti. black and white will not work with the algroithm out of the box as I'm currently using an HSI colour model. This is less sensative to light changes, since only changes to hue (colour) and saturation of that hue are considered, and intensity is ignored.
b&w is purely an intensity based colour model, so you have two choices. Either switch on the considerIntensity flag, or switch to an RGB colour model. I'll make this configurable when I get some time.
I'll also make it deal with B&W better since at the moment it'll do 3 cycles per pixel (R G and B) but it only needs to do one.
the code you need to change is in teh constructor of the motion detector I beleive. I'll have a look at the code tonight and externalise these settings, but lemme know how you go if you make the changes yourself.
PS Tidy your room!



LinkBack URL
About LinkBacks


Reply With Quote


Bookmarks