Subscribe to Continue Downloading

Redirecting...
step3 IDCard - Source code Nhận diện IDCard bằng Pyhton

Source code Nhận diện IDCard bằng Pyhton

by nguyen856785674in , on June 18, 2023

Choose Your Desired Option(s)

Source code Nhận diện IDCard bằng Pyhton

Setup

Download folder model, unzip and copy to project run directory:

model
└───transformerocr.pth
|

└───det
│ └── […]

└───rec
└── […]

Requirements

Python 3.7+

FastAPI stands on the shoulders of giants:

Installation

$ pip install -r requirements.txt

Run it

Run the server with:

$ uvicorn main:app –reload

INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [28720]
INFO: Started server process [28722]
INFO: Waiting for application startup.
INFO: Application startup complete.

Interactive API docs

Now go to http://127.0.0.1:8000/docs.

You will see the automatic interactive API documentation (provided by Swagger UI):

Alternative API docs

And now, go to http://127.0.0.1:8000/redoc.

You will see the alternative automatic documentation (provided by ReDoc):

 

Check it now 👌

Now go to http://127.0.0.1:8000/docs.

  • The interactive API documentation will be automatically updated, including the new body:


step1 IDCard 副本 - Source code Nhận diện IDCard bằng Pyhton

  • Click on the button “Try it out”, it allows you to upload file and directly interact with the API:

step2 IDCard - Source code Nhận diện IDCard bằng Pyhton

 
  • Then click on the “Execute” button, the user interface will communicate with your API, get the results and show them on the screen:

Image example

CCCDJPEG 150 IDCard - Source code Nhận diện IDCard bằng Pyhton

Return results

step3 IDCard - Source code Nhận diện IDCard bằng Pyhton

 
Download Category ,
Product Version
File Type Py
File Size 360 KB
Developer
Documentation

Release Information

  • Released
    :

    June 18, 2023

  • Last Updated
    :

    June 18, 2023

  • Categories
    :
  • File Included
    :

    Py

  • File Size
    :

    360 KB

Share Your Valuable Opinions

You must log in to submit a review.

  • Sign up
Password Strength Very Weak
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
We do not share your personal details with anyone.

Please wait a moment...

(Don't refresh or go back)