konstantint / PassportEye

Extraction of machine-readable zone information from passports, visas and id-cards via OCR
MIT License
382 stars 110 forks source link

Nothing detected #35

Closed zhouhao27 closed 5 years ago

zhouhao27 commented 5 years ago

I tried to detect the ID card like this:

DogIC

By:

mrz --json DogIC.jpg

But it returns:

{
  "mrz_type": null,
  "valid": false,
  "valid_score": 0,
  "walltime": 0.5015320777893066,
  "filename": "DogIC.jpg"
}

Got the same result for other similar images. What could be the reason? Thanks.

konstantint commented 5 years ago

A MRZ (machine-readable zone) is this specific region with a bunch of ">>" characters on a document: image

Your example does not have it. Oftentimes identity cards would have their MRZ on the back.