refactoring barcode reading

increase the image size for easier reading