/fastapi_vision

FastAPI 기반 비전 AI Backend 서버

Primary LanguagePythonMIT LicenseMIT

Vision AI Service Backend with FastAPI

FastAPI 기반 OCR 및 비전 AI Backend 서버

Requirements

  • Python 3.11
    • check requirements directory for third-party packages
  • MariaDB 11.1
  • MongoDB
  • Tesseract 5.4

Memo

  • commends for running FastAPI dev server
fastapi dev main.py
  • commends for running uvicorn server for debugging
main.py

Migration with Alembic

  • initialize alembic
alembic init migrations
  • create revision
alembic revision --autogenerate
  • run migration to latest revision
alembic upgrade head

Docker

  • Dockerfile build
docker build -t fast_vision .
  • Docker container run
docker run -itd -p 8000:8000 --name fast_vision fast_vision