Motion detection has always been the core feature of CCTV Cameras and surveillance systems in order to provide Security to the user.
This Application focuses on demonstrating the capabilities of an average phone to behave as a portable Surveillance system by detecting any movement in the camera frame.
It detects the smallest of movements, such as shadows, leaves etc.
Although it is sensitive to small movements, it is accurate in detecting all the movements when placed properly. However, the mobile camera must be idle and should not be movable.
It implements the technology of binary image representation of the frame and then detecting the activation points in that image using it as a background in order to get the changing pixels on the frame and hence providing us with rectangular labels to display them.
P.S - Kudos to Christo Alves for suggestions.
P.S2 - Performance and accuracy might vary from phone to phone, keep in mind that a phone is not able to process as many frames as a CCTV camera and hence, degrading performance by a small margin.
- Added a How-To guide so that users can make full use of the application
- Added runtime permission so that users need not open settings to provide permissions
- Added confirmation dialogbox so that users can verify the steps