I am working on a project that has to read and output barcode data. It uses a standard logitech camera to take a picture. It uses JavaCV (Java's OpenCV package) to access the webcam and take a picture. After the picture is stored, it then uses Zxing package to read and output the barcode data.
The program works, but not well enough. It can handle a rather large barcode but cannot read anything normal size. My theory is that the resolution on the camera is not good enough. However, I would like to ask if anyone here knows how I could improve the barcode reader through code. (i.e focusing the camera through JavaCV or something)
tl:dr version: Is there anyway I can improve image quality though JavaCV for the purpose of barcode reading?