This project performs real-time multi-object detection and image classification using YOLOv8 and a custom-trained CNN on CIFAR-10. It captures webcam video, detects objects, classifies images, and displays results live.
Original Video Speed: 0.5X
Mini_Project_2.mp4
- Real-time object detection using YOLOv8 segmentation
- Image classification using a custom CNN trained on CIFAR-10
- Live webcam video processing
- Model saving and loading
Install dependencies with:
pip install -r requirements.txt
- Clone the repository and navigate to the project folder.
- Ensure you have a webcam connected.
- Run the main script:
python main.py
- Follow the prompts to train the model and start detection.
- Press 'q' to quit the video window.
main.py
: Main script for training and detectionyolov8n-seg.pt
: YOLOv8 model weightsimage_classifier.keras
: Saved CNN modelrequirements.txt
: Python dependencies
- Harith Kavish S
- Sharwan Krishnan P
- Sanjay R