Subscribe to Continue Downloading

Redirecting...
xc - Code đồ án Trích xuất thông tin căn cước công dân Tiếng Việt + BÁO CÁO

Code đồ án Trích xuất thông tin căn cước công dân Tiếng Việt + BÁO CÁO

by nguyen856785674in , on June 18, 2023

Choose Your Desired Option(s)

Code đồ án Trích xuất thông tin căn cước công dân Tiếng Việt ( Extract Citizen Identification Information Vietnames)

 

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
$ pip install fastapi

You will also need an ASGI server, for production such as Uvicorn or Hypercorn.

$ pip install uvicorn[standard]

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 1 - Code đồ án Trích xuất thông tin căn cước công dân Tiếng Việt + BÁO CÁO

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

step2 1 - Code đồ án Trích xuất thông tin căn cước công dân Tiếng Việt + BÁO CÁO

 

  • 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

 

Return results

step3 1 - Code đồ án Trích xuất thông tin căn cước công dân Tiếng Việt + BÁO CÁO

Download Category ,
Product Version
File Type Py, PPTX
File Size 4.78 MB
Developer
Documentation

Release Information

  • Released
    :

    June 18, 2023

  • Last Updated
    :

    June 18, 2023

  • Categories
    :
  • File Included
    :

    Py, PPTX

  • File Size
    :

    4.78 MB

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)