Skip to content

Japrolol/ObjectDetectionWebApp

Repository files navigation

Object Detection Project

Object Detection

To run this project, you need to have Python and Node.js installed on your computer.

1. Create the Database

  • Use the obj_det.sql file to create the database.
  • A default account with the email admin@gmail.com, user admin and password admin123 is already created.
  • You can create your own account.

2. Create Environment Files

  • In the root folder, create a .env file with the following fields:
    DB_HOST=SERVER NAME
    DB_USER=USERNAME
    DB_PORT=3306
    DB_NAME=YOUR_DB_NAME
    DB_PASSWORD=PASSWORD
    SECRET_KEY=SECRET KEY
  • In the ObjectDetection folder, create another .env file with the following field:
    VITE_API_URL="http://localhost:8000/api"

3. Install Dependencies

  • In the terminal, run:
    pip install -r requirements.txt
  • After installing the required modules, navigate to the ObjectDetection folder:
    cd ObjectDetection
  • In the ObjectDetection folder, run:
    npm install
  • Install the AI Model and put it in the root folder
  • Download Here

4. Run the Project

  • In the ObjectDetection folder, start the development server:
    npm run dev
  • In a new terminal window, in the root folder, run:
    python server.py

5. Access the Application

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published