Until now, I have been testing the camera and motion detector using just my laptop's built-in camera, which worked fine. Problems occurred when we tied up all the systems together.
As you might recall, I am detecting motion by using a background subtraction method, which checks whether there is change in pixel intensities between two frames. If that occurs, than that portion of the frame is regarded as not belonging to the background, thus it is moving. The problem with this approach, as I had found out, was smoke. Since our setup involved having the USB Camera tied up on the box, it would be very close to the smoke emitted. Because smoke was dense, it would be picked up as movement, thus rendering false positive results.
After having tried many ways to threshold the results produced by the smoke, we decided it would not work in a way which would be reliable, so we decided to re-implement the system using another method..
No comments:
Post a Comment