I am working on bar-code (PDF417) detection and recognition from a stack of boxes. The size of the bar-codes are relatively very small as compared to the Boxes. If I place the camera very near to the stack of boxes I can cover only one box and read only one bar-code. If I place the camera a little far such that the image frame contains five boxes, I couldn't able to detect any boxes.
How can I address this problem, and what are the possible ways to solve it.
The barcode size can not be changed
We have the freedom to select the camera