title: Webcam - detect QR code, take snapshot and decode
body: <p>I am currently trying to write a java program to utilize either a built in laptop webcam or an external USB webcam. This would hopefully be compatible with both PC and Mac.</p>
  
  <p>I was wondering if anyone knew of a library that can deal with it all? I don't really want to reinvent the wheel and I wouldn't have any idea where to start in 1) detecting a webcam, 2) taking a snapshot when a QR code is detected.</p>
  
  <p>I am familiar with ZXing for decoding barcode images however.</p>
  
  <p>I have searched high and low, I strongly suspect the library I look for doesn't exist, however its worth an ask!</p>
  
  <p>My first question on here, so I hope it is clear!</p>
  
  <p>edit: alternatively, if one doesn't exist, could you point me in the right direction of how to take a snapshot from webcam when a QR code is detected? :)</p>
  
  <p>Thanks</p>