Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/djccnt15/fastapi_vision

FastAPI 기반 비전 AI Backend 서버
https://github.com/djccnt15/fastapi_vision

fastapi fastapi-sqlalchemy python

Last synced: 25 days ago
JSON representation

FastAPI 기반 비전 AI Backend 서버

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
```