Welcome to Trismfeinym! This project implements real-time object detection using the YOLO (You Only Look Once) model with OpenCV and Flask. Achieve high accuracy for various object detection tasks using state-of-the-art YOLO technology.
Follow these steps to set up the project on your local machine:
Make sure you have Python 3.9 or above installed.
git clone https://github.com/Sk16er/Trismfeinym.git
cd Trismfeinym
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Ensure you have the YOLOv8 model from Ultralytics. You can download it using:
pip install ultralytics
python app.py
!https://www.loom.com/share/6a0009887f0f45b9bd65df0dd4d3411c (this is the video)
Navigate to http://localhost:5000
in your browser.
You can adjust parameters like model type, confidence threshold, and object classes by modifying config.py
.
Example Configuration:
MODEL_PATH = 'yolov8n.pt' # Path to YOLO model
CONFIDENCE_THRESHOLD = 0.5
You can run tests to ensure everything is working correctly:
pytest
pip freeze
.config.py
.pip install Flask opencv-python-headless torch ultralytics
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or issues, please open an issue on the GitHub repo or contact me at [shushankpawar664@gmail.com].