handle Barcodes
This interface describes what to do when the engine detected the barcode
Parameters
barcode Result
the generated data from the engine. such as all the barcodes detected from the input frame
environment Data
the other environment info such as the camera resolution and rotation value.