confidence

confidence #

The confidence is a value present in display, serial number and barcode objects in the returned JSON response which represents the confidence of the respective value being correct.

The property can hold the value of either low, medium, or high. Depending on your application, you may instruct an end-user to take another image of the meter if the confidence is below your threshold.

Example response #

{
    "objects": [
        {
            "meter": {
                "objectId": "o-SpCZbeze",
                "objects": {
                    "display": [
                        {
                            "confidence": "high"
                        },
                        {
                            "confidence": "medium"
                        }
                    ],
                    "serialNumber": [
                        {
                            "confidence": "low"
                        }
                    ],
                    "barcode": [
                        {
                            "confidence": "high"
                        }
                    ]
                }
            }
        }
    ]
}