This project is a web-based object detection system that allows users to upload images, detect objects, and label them. The application consists of a frontend and backend.
- User-friendly web interface for uploading images.
- Object detection using a backend model.
- Real-time labeling of detected objects.
- Local server setup for frontend and backend execution.
- Backend: Flask
- Frontend: HTML, CSS, JavaScript
- Object Detection: YOLOv8, Roboflow Workflow
Ensure you have the following installed:
- Python (>=3.x)
- Flask (for the backend)
- Any required dependencies (install using
requirements.txt)
git clone https://github.com/Kali414/xAGI_project.git- Navigate to the backend directory:
cd backend - Install required dependencies:
pip install -r requirements.txt
- Run the backend server:
python app.py
- The backend will start and run on
http://127.0.0.1:5000/
- Open a new terminal and navigate to the frontend directory:
cd frontend - Start a local server:
python -m http.server 8000
- Open a browser and go to:
http://localhost:8000
- Upload an image using the web interface.
- The backend processes the image and returns detected objects with labels.
- Results are displayed on the webpage.
object-detection-project/
│── backend/
│ ├── app.py
│ ├── .env
│ ├── requirements.txt
│
│── frontend/
│ ├── home.html
Feel free to fork this repository and contribute improvements!
This project is licensed under the MIT License.