MRZ扫描器

使用OCR扫描器进行MRZ检测和解析 (iOS – Android(包括华为设备))

#用法

async{
  var resulText = await MrzScan.openOCR(context);
                  setState(() {
                    showedText = result.toString(); }); }

当找到正确的MRZ格式时,它将返回一个Map

  print(showedText);
  
  // output is
  {DocumentNo: "Your document no", DateofBirth: "Your date of birth", DateofValid: "Your indedity card's date of valid"}
  

如果您可以进行开发,我将不胜感激。

GitHub

查看 Github