C
C
Chvalov2015-09-08 10:02:53
Java
Chvalov, 2015-09-08 10:02:53

Capturing video from a webcam and detecting an object on the video using Java, is it possible?

Are there any libraries for capturing video from a camera and detecting objects on video for Java 7-8?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
nagibator8000, 2015-09-08
@nagibator8000

You can use OpenCV

F
freedom4live, 2015-09-08
@freedom4live

https://github.com/sarxos/webcam-capture
A small example:

Webcam webcam = Webcam.getDefault();
webcam.open();
BufferedImage image = webcam.getImage();
ImageIO.write(image, "JPG", new File("test.jpg"));

M
merl1n, 2016-03-14
@merl1n

You can use the example on java and opencv
privateblog.info/java-tips-and-tricks/kak-zapisat-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question