OpenCV and Java based barcode localizer