How to Add roiCenterMark option
roiCenterMark option #
A new setting was added to display a marker in the center of the Region of Interest (ROI).
You can configure it using:
bkdView.config.setRoiCenterMark(BarkoderRoiCenterMark.POINT);
or:
bkdView.config.setRoiCenterMark(BarkoderRoiCenterMark.CROSSHAIR);
or disable it:
bkdView.config.setRoiCenterMark(BarkoderRoiCenterMark.NONE);
The options are:
POINT → displays a point in the center of the ROI. The barcode needs to be positioned around the center point to be scanned. CROSSHAIR → displays a crosshair in the center of the ROI. The barcode needs to be positioned around the crosshair to be scanned. NONE → no center marker is displayed.
This is useful when you want to guide the user to position the barcode in the center of the scanning area.