Skip to content

Vikk-17/extraction_engine

Repository files navigation

Extraction Engine

An engine that can extract the data from image & pdf

Installation

Local Setup

python -m venv .venv # Create a virtual environment
pip install -r requirements.txt # Install all the packages

# move .env.example to .env file in workdir
mv .env.example .env

# run minio in docker
docker run -p 9000:9000 -p 9001:9001 quay.io/minio/minio server /data --console-address ":9001"

# Fastapi
fastapi dev app.py

# with workers (optional)
fastapi run --workers 4 main.py

# Uvicorn
# uvicorn <local_file>:app ...
uvicorn app:app --host 0.0.0.0 --port 8080 --workers 4

Docker Setup

Run the following command:

docker compose up --build # Build & start all the services
docker compose down # Stop the services

Docs

http://127.0.0.1:8000/docs/ # swagger api docs

Architecture

References

About

An extraction engine that can extract the data from image & pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published