What are some good methods for detecting movement using a camera? (opencv)
Please go through the book Learning OpenCV: Computer Vision with the OpenCV Library
It has theory as well as example codes.
I am looking for some methods for detecting movement. I've tried two of them. One method is to have background frame that has been set on program start and other frames are compared (threshold) to that background frame. Other method is to compare current frame (let's call that frame A) with frame-1 (frame before A). None of these methods are great. I want to know other methods that work better.