Finds locations of barcodes in the specified region-of-interest of the input image.
- Input image.
- The maximum number of bar codes to detect.
- Width of the quiet zone at both ends of the barcode. If the value is zero, it will be replaced by a default value which is calculated from the frame size.
- The size of the rectangle in which bar codes are searched. If size is undefined (either width or height is NAN), barcodes are searched in the whole image. Otherwise the region of interest is determined by size and frame.
- The location of a region-of-interest for the detector. A coordinate frame in world coordinates.
- A-priori information about the orientation of the barcode. Setting this parameter improves the probability of correct detection if the information is available. If orientation is Horizontal, only bars with orientation [-45..+45] and [135..225] degrees are searched. If orientation is Vertical, only bars with orientation [-45..-135] and [+45..+135] degrees are searched. The default value is Unknown.
- A-priori information about the orientation of the barcode. Setting this parameter favors barcodes which have orientation near the given angle. This improves the probability of correct detection if the information is available. The default value is NAN, which means no preference.
- A coordinate frame for each detected bar code. Each frame is a 4-by-4 matrix totaling in a 4N-by-4 matrix.
- The size (width, height) of each detected bar code in the corresponding frame. An N-by-2 matrix.