Skip to content

aarontong95/Document_Understanding_API

Repository files navigation

Document Understanding API

  • Input: Document uploaded by user
  • Output: Information extracted with the identified location

ENVIRONMENT

  • python3.75

Clone the Project

git clone https://github.com/aarontong95/Document_Scan_API.git

Install the Packages

pip install -r requirements.txt

Deploy the Service

uvicorn main:app --host 0.0.0.0 --port 8000

Quick Deploy with Docker

docker-compose up

Get Started

Go to http://127.0.0.1:8000/docs
Expand the row of "scan"
Click the "Try it out" button
Click the "Choose file" button
Upload the image 

Result

alt text

About

Document Understanding API using LayoutLM fine-tuned on FUNSD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published