title: Java : How to capture Image from webcam on motion detection
body: <p>I am working on a project where I want to capture an Image on motion detection using Webcam.</p>
  
  <p>Initially I want to start with USB cam and later I want to Integrate the same for IP camera. So please point me to the right direction.
  Thanks in advance.</p>