Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Video - sound - sensor capture in Java

I would like to develop an application which would be able to capture video from a webcam, capture sound from a mic and capture movement if a proximity sensor is available.

Initially I want it to run on windows but if able I might want to make it work on android later on.

I'm looking for something pretty straight forward and easy to understand. My research has led me to Java Media Framework but it is too old and abandoned. FMJ seems also old. JavaCV appears to have poor documentation available.

My goal is to make a home detection app which uses the camera imagery, mic sound and sensors to detect and analyze home invasion. I might take a leap and do it in .NET or other object oriented programming languages if easier solutions present themselves. How should I approach this, what are your suggestions?

like image 759
Emil Anca Avatar asked Jun 27 '26 08:06

Emil Anca


1 Answers

  • One Solution is use JavaCV. So you can develop your desktop application using java and later can be ported in to android with fewer changes. As you said JavaCV haven't rich documentation. But JavaCV is just a wrapper to a OpenCV. So you can read OpenCV documentaion and find the relevant method(function) names. The methods in JavaCV has almost same names as OpenCV. So you can try those methods in JavaCV.

  • Next solution is use .NET to develop the system. There you can use AForge.NET a rich library for .NET or Emgu CV .NET wrapper for OpenCV. But you will be facing a problem when creating the android app. Because you have to build it from scratch.

like image 161
Keshan De Silva Avatar answered Jun 29 '26 22:06

Keshan De Silva



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!