Meter
Meter Reading
Preset Config
// init the Anyline SDK with a preset config
anyline = window.anylinejs.init({
preset: 'meter',
license: demoLicense,
element: root,
anylinePath: '../anylinejs',
});
Example Config
config: {
module: 'meter',
meterConfig: {
scanMode: 'DIAL_METER',
minConfidence: 50,
}
}
Config Parameters
scanMode
-
AUTO_ANALOG_DIGITAL_METER
For scanning analog meters and digital meters, will automatically detect the meter type and perform the corresponding scan.
-
SERIAL_NUMBER
For scanning the serial number of analog/digital/dial meters
-
DIAL_METER
For scanning dial meters.
minConfidence
Results with lower confidence than minConfidence get rejected automatically. This value is a number between 0 and 100. The default is 60.