I'm currently trying to write a Java program to use either a built-in laptop webcam or an external USB webcam. It will hopefully be compatible with PC and Mac.
I was wondering if anyone knows of a library that can handle all this? I really donβt want to reinvent the wheel, and I donβt know where to start: 1) detecting a webcam, 2) taking a snapshot when a QR code is detected.
I am familiar with ZXing for decoding barcode images.
I searched high and low, I strongly suspect that the library I am looking for does not exist, however it is worth asking!
My first question is here, so I hope this is clear!
edit: alternatively, if it does not exist, could you please point me in the right direction, how to take a picture from a webcam when a QR code is detected? :)
thanks
source share