https://github.com/lmammino/movementdetector
A simple java openvc application to detect user movement in front of a camera
https://github.com/lmammino/movementdetector
camera camera-image camera-recorder computer-vision experiment experimental java
Last synced: about 1 year ago
JSON representation
A simple java openvc application to detect user movement in front of a camera
- Host: GitHub
- URL: https://github.com/lmammino/movementdetector
- Owner: lmammino
- Created: 2011-03-18T23:58:27.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2019-10-11T09:07:56.000Z (over 6 years ago)
- Last Synced: 2025-03-15T00:12:17.671Z (about 1 year ago)
- Topics: camera, camera-image, camera-recorder, computer-vision, experiment, experimental, java
- Language: Java
- Homepage: http://loige.co
- Size: 8.41 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.html
Awesome Lists containing this project
README
Movemente Detector
Movement Detector is a simple Java OpenCv application created as university project for the computer vision course at La sapienza, Rome.
It aims to detect when movements occur in front of a camera by using pixel based frame difference.
It also provides the ability to detect faces when a moderate quantity of movement is detected.
Requirements
- Java JRE 1.6+
- OpenCV 2.2+
- a webcam
(The other required libraries are shipped with Movement Detector in thedist/lib/folder)
Running
You can find a runnable jar (last updated version) in the dist folder.
To run it simply use: java -jar "movementDetector.jar".
On some OSs you can simply run the app by clicking on the movementDetector.jar file.
NB: do not move or remove the lib folder
Known Issues
If you use Movement Detector on Mac you may experience problems when starting the camera. Sometimes the application may get stuck and you have to force close and restart it again. It seems due to an OpenCV bug that does not handle threads in a safe way on mac. The problem will be resolved when openCV authors will release a fixed version. So we apparently have to wait. In the meanwhile any workaround would be heavily appreciated. So, please, contact us if you know some.