Modern OCR web application powered by DeepSeek-OCR with a stunning React frontend and FastAPI backend.
Hướng dẫn cài đặt & chạy trên Windows 10 x64
Cài đặt Python 3.10 x64
Vào folder backend tạo virtual environment
virtualenv venv
Active virtual environment
venv\Scripts\activate
pip install -r requirements.txt
pip install torch --index-url https://download.pytorch.org/whl/cu118
Vào folder frontend cài đặt JS packages bằng lệnh:
npm install
Chạy file start_backend.bat hoặc chạy lệnh sau trong folder backend
python -m uvicorn main:app --host 0.0.0.0 --port 8000
Chạy file start_frontend.bat hoặc chạy lệnh sau trong folder frontend
npm run dev
