Git Product home page Git Product logo

idcard-ocr's Introduction

Vietnamese ID Card Recognition

Overview

A project to recognize text in Vietnamese ID card using Centernet-Custom and Seq2Seq-Attention models

Setup

Edit requirements_gpu.txt or requirements_cpu.txt depend on CPU or GPU, then run:

sh setup.sh    

Performances

Model mAP(IOU=0.5-0.95) Full Sequence Acc (%)
CMND Detect x x
Line Detect 0.75 x
OCR x 81%

Demo

Run demo from file OCR_deploy.ipynb

Result:

idcard-ocr's People

Contributors

henryle97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

idcard-ocr's Issues

Bị lỗi: your model does not fully load the pre-trained weight.

Hi bạn
Cảm ơn project của bạn,
Mình setup chạy trên CPU, ubuntu 20
bị báo lỗi này

loaded weights/line_detect_weight.pth, epoch 110
Drop parameter base.fc.weight.If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Drop parameter base.fc.bias.If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
/pytorch/aten/src/ATen/native/BinaryOps.cpp:81: UserWarning: Integer division of tensors using div or / is deprecated, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.

Khi chạy thử thì báo không phát hiện được CMND:
image
Bạn có thể xem qua giúp mình nhé,
Thanks bạn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.