sarxos / webcam-capture

The goal of this project is to allow integrated or USB-connected webcams to be accessed directly from Java. Using provided libraries users are able to read camera images and detect motion. Main project consist of several sub projects - the root one, which contains required classes, build-in webcam driver compatible with Windows, Linux and Mac OS, which can stream images as fast as your camera can serve them (up to 50 FPS). Main project can be used standalone, but user is able to replace build-in driver with different one - such as OpenIMAJ, GStreamer, V4L4j, JMF, LTI-CIVIL, FMJ, etc.
http://webcam-capture.sarxos.pl
MIT License
2.27k stars 1.11k forks source link

WebcamMotionDetector for IP Camera #636

Open sandip-narwade opened 6 years ago

sandip-narwade commented 6 years ago

WebcamMotionDetector is great feature. But it is only working for web cameras , How I can used ths for IP camera

sarxos commented 6 years ago

Hi @sandipJava,

Use webcam-capture-driver-ipcam instead of a default one. Examples demonstrating how to use IP camera driver can be found below. I hope you can glimpse the idea.

https://github.com/sarxos/webcam-capture/tree/master/webcam-capture-drivers/driver-ipcam/src/examples/java

The usage of motion detector remains the same.

sandip-narwade commented 6 years ago

I am using simple http://localhost:8090/API/Cam IP URL so How I can add this into your code