Ask Your Question
0

Motion Detection with android

asked 2013-04-18 06:58:50 -0600

etudiante gravatar image

my projet is Motion Detection with android and cameraIP ,when a cameraIP is connected i can see the streams and when a person is detected or any other motion an alarm is launched,I installed the open CV but i dont know if i should program with android (java) or with C++ and install the NDK can you help me please

edit retag flag offensive close merge delete

Comments

If your camera are static take a look at the codebook method described in Learning OpenCV by Gary Bradski and Adrian Kaehler. It's really well explained ! And for the question I think implementing it in C++ and run it with the NDK should be a good idea

Rogeeeer gravatar imageRogeeeer ( 2013-04-18 07:12:19 -0600 )edit

Hi , thanks Rogeeeer Can you post a tutorial or document that can help me to implement the application ?

etudiante gravatar imageetudiante ( 2013-04-18 07:34:16 -0600 )edit

The codebook is really well explained on the Learning OpenCV Book with detailled algorithms and implementation. If you want to convert it to C++ it sould be easy because the code will be much more simple.

For the NDK part try to take a look at "Mastering OpenCV with practical computer vision projects" In one of the first chapters there is some good tutorial to use C++ dll in an android project.

I used this one a long time ago, but it's french... Learning french could be more painfull than looking for another one !

http://www.k33g.org/?q=book/export/html/31

Rogeeeer gravatar imageRogeeeer ( 2013-04-18 08:21:38 -0600 )edit

thanks for your help :)

etudiante gravatar imageetudiante ( 2013-04-18 10:49:16 -0600 )edit

Can you post the URL of The codebook ?

etudiante gravatar imageetudiante ( 2013-04-18 14:43:54 -0600 )edit

The codebook is just an algorithm, you can find the description in the book "Learning OpenCV", you can either buy it or download it or whatever but I can't give you the URL here :)

Rogeeeer gravatar imageRogeeeer ( 2013-04-19 08:09:00 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-09 17:33:52 -0600

updated 2014-11-09 17:39:57 -0600

Hi, First excuse my english I think that you should work on a multi device system : -A server side with an embedded linux or android system connected to camera , this system will capture frames , detect motion and in the same time it is an ip camera , in this way it will be easy to connect the system with alarm or another security system or maybe send a notification to mobile app that allow you to view the webcam stream. -A client in android that allow you ti view the ip stream.

I give you some tutorials that can help you :

1/ Simple motion detection program in JAVA : http://ratiler.wordpress.com/2014/09/08/detection-de-mouvement-avec-javacv/

2/Ip camera streaming over network with RASPBERRY PI or FoxBoard G20 : http://ratiler.wordpress.com/2014/09/10/ip-webcam-streaming-on-raspberry-pi/

3/Reading Ip camera stream in Android : http://ratiler.wordpress.com/2014/09/11/lire-le-flux-video-dune-camera-ip-sur-votre-smartphone-android/

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-18 06:58:50 -0600

Seen: 4,305 times

Last updated: Nov 09 '14