Type alias DetectionHandler

DetectionHandler: ((detections) => DetectionHandlerResult)

Type for barcode detection handler.

Type declaration

Remarks

This handler is called synchronously when one or more barcodes are detected, so it should avoid performing any expensive operations. STRICH currently tries to detect a barcode as quickly as possible, it may occasionally return multiple detections simultaneously.