Skip to content

skkuswEng/AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI

Setup Guide

📁 Directory Structure

<dir_name>/
│
├── assets/
│   ├── chrome_profile/
│   ├── chrome-win64/
│   ├── chromedriver.exe
│   └── final_seat_vid.mp4
│
├── installers/
│   ├── Setup_ePageSaferRT.exe
│   └── tesseract-ocr-w64-setup-5.5.0.20241111.exe
│
├── models/
│   └── best.pt
│
├── scripts/
│   └── setup.bat
│
├── .gitignore
├── main.py
├── requirements.txt
└── README.md

🚀 Installation and Setup

1. Clone the Repository

git clone https://github.com/skkuswEng/AI.git
cd <dir_name>

2. Run the Setup Script

cd .\scripts
.\setup.bat

3. Download Large Files

From https://github.com/skkuswEng/AI/releases/tag/v1.0.0 download -this-> [AI_files.zip]

4. Place/Replace the assets and models folders in the project directory

5. Update the OCR path if needed

On line 25 of main.py, based on where the program was installed, it may be necessary to change the path.

# Initialize Tesseract OCR
pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\Tesseract-OCR\tesseract.exe"

6. Change Backend URLs

On line 41 of main.py, the url of the server(s) the program broadcasts to need be changed correspondingly.

BACKEND_URLS = [
"http://localhost:8000/seat/renew",  # Ensure this matches the backend endpoint
]

🏃 Running the Project

Activate the Virtual Environment (from root)

.\scripts\venv\Scripts\Activate.ps1

Run the Program

  python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published