https://github.com/djccnt15/fastapi_vision
FastAPI 기반 비전 AI Backend 서버
https://github.com/djccnt15/fastapi_vision
fastapi fastapi-sqlalchemy python sqlalchemy tesseract tesseract-ocr
Last synced: 12 months ago
JSON representation
FastAPI 기반 비전 AI Backend 서버
- Host: GitHub
- URL: https://github.com/djccnt15/fastapi_vision
- Owner: djccnt15
- License: mit
- Created: 2024-06-06T13:10:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-20T09:15:47.000Z (over 1 year ago)
- Last Synced: 2025-02-08T06:42:43.713Z (about 1 year ago)
- Topics: fastapi, fastapi-sqlalchemy, python, sqlalchemy, tesseract, tesseract-ocr
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```powershell
fastapi dev main.py
```
- commends for running uvicorn server for debugging
```powershell
main.py
```
## Migration with Alembic
- initialize alembic
```powershell
alembic init migrations
```
- create revision
```powershell
alembic revision --autogenerate
```
- run migration to latest revision
```powershell
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
```