This repo implements document preprocessing for invoices.
-
Using
pyenv
to manage virtualenv's is recommended -
Run
make install
-
Start a local jupyter notebook server with
make run-jupyter
OR
just start the fast-API locally withmake run-web-app
To retrieve various elements from an invoice, post the image to the /invoices
API. You can try this out by starting the API locally with make run-web-app
. Then from the base folder, run:
curl -X 'POST' \
'http://localhost:8000/invoices/v0.1.0/invoices' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'files=@sample-docs/000d40dd-2812.png' | jq -C . | less -R
You can generate the FastAPI APIs from your pipeline notebooks by running make generate-api
.
See our security policy for information on how to report security vulnerabilities.
Hugging Face Spaces offer a simple way to host ML demo apps, models and datasets directly on our organization’s profile. This allows us to showcase our projects and work collaboratively with other people in the ML ecosystem. Visit our space here!
Section | Description |
---|---|
Company Website | Unstructured.io product and company info |