Best JSON config

Here is the best config we recommend:
  • YUV420P image format as input: This format is easy to convert to grayscale (format expected by the recognizer and detector). You should prefer YUV420P instead of YUV420SP (NV12 or NV21) as the later is semi-planar which means the UV plane is interleaved. De-interleaving the UV plane take some extra time.

  • 720p image size: Higher the image size is better the quality will be for the detection and recognition parts. 720p is a good trade-off between quality and resource consumption. Higher image sizes will give your camera a hard time which means more CPU and memory usage.

  • 30% for minimum recognition score: This score is very low and make sense if the score type is “min”. This means every character on the MICR line have an accuracy at least equal to 0.3. For example, having a false-positive with #16 chars and each one is recognized with a score >= 0.3 is very unlikely to happen. If you’re planning to use “median”, “mean”, “max” or “minmax” score types then, we recommend using a mimimum score at 70% or higher. JSON config: "recogn_score_type": "min", "recogn_minscore": 0.3

The configuration should look like this:
{
    "debug_level": "warn",
    "score_type": "min",
    "min_score": 0.3
}