The requirements for cameras that will work with the Barcode detection module are given in the table below.
Lightning
the image is to be clear, lines should be visually separable from each other
Scene and camera view
the angle between the optical axis of the camera and the plane of the barcode – not more than 15°
Object images
maximal width and height of the detected barcode – 65536 pixels
area of the detected barcode is not less than 1296 pixels
each of barcode sides is not less than 10 pixels
For example, barcode height is 10 pixels, than its width is to be not less than 130 pixels. Сonversely, if barcode width is 10 pixels, than its height is to be not less than 130 pixels