On this page

Stuck? Open a support ticket and the barKoder team will help. Open a ticket

ROI center mark

ROI center mark #

A marker can be shown in the center of the Region of Interest (ROI), so the user knows where to aim.

JavaScript
// Crosshair
Barkoder.setRoiCenterMark(Barkoder.constants.CenterMark.Crosshair);

// None
Barkoder.setRoiCenterMark(Barkoder.constants.CenterMark.None);

On the Web SDK the mark is a crosshair or none. Barkoder.getRoiCenterMark() returns the current one.