ALBarcodeReader API¶
NAOqi Vision - Overview | API | Tutorial
Namespace : AL
#include <alproxies/albarcodereaderproxy.h>
Method list¶
-
class
ALBarcodeReaderProxy
¶
- As any module, this module inherits methods from ALModule API.
- It also inherits methods from ALExtractor API and ALVisionExtractor API.
Events list¶
Events¶
-
Event:callback(std::string eventName, AL::ALValue value, std::string subscriberIdentifier)¶
"BarcodeReader/BarcodeDetected"
Raised each time one or several barcodes are decyphered. The associated data is structured as follows:
BarcodeReader/BarcodeDetected = [ CodeData[N] ]
CodeData contains the data itself in a string representation and the position of the bar code in the image:
CodeData = [ Data, Position ]
Where Position contains the coordinates of all four corners in the image (see Overview for an explanation about corner ordering).
Position = [ [x0, y0], [x1, y1], [x2, y2], [x3, y3] ]