Java: webcam application

I want to develop the following application. How to proceed?

  • System scan for installed webcams and supported video modes.
  • Let the user select cam and video mode.
  • Displays the video image of the camera.
  • Starts frame grabber / cpu, now it shouldn't do anything. I want to be able to design frames or at least one frame for each x.
  • Not sure if this is possible, but I also need a procedure to overlay the processed frames onto the video being played.
+2


source to share


3 answers


Check out this post on SO for inspiration.



JMF framework supports real-time data collection, audio or video, as described in this article

+2


source


You can also try LTI-Civil



0


source


I would recommend that you use Webcam Capture as neither JMF nor LTI-CIVIL are supported. Webcam capture is an open source cross-platform project hosted on Github. There are many examples, for example. how to do what you asked:

Unfortunately, there is no way to overlay an image captured via the Capture webcam API onto the video being played. At least not in the Capture webcam itself, but you can use Xuggler to do this - it contains an example of how you can do this.

Please note that the Webcam Capture API can be used on top of JMF, FMJ, LTI-CIVIL, GStreamer, OpenIMAJ, and more.

0


source







All Articles