Reads value of a barcode from a bounding box specified by frame and size.
image: Input image.
codeType: The type of the barcode to be recognized.
frame: A coordinate frame which defines orientation of the bounding box in which the barcode is assumed to be.
size: The size (width, height) of the bounding box in which the barcode is assumed to be. If size is undefined (either width or height is NAN), the tool assumes that the barcode fills the image entirely.
code: The contents of the barcode as an N-by-1 integer array.
correlation: Correlation metric of the selected code. This entity can be used for detecting code words which may be wrong but have passed the check sum by chance.
codeType: The type of the barcode that was recognized. If the type is not recognized, this output will be an empty string.