Skip to content

This project demonstrates object detection using PyTorch and OpenCV. It allows detection on image and video files.

Notifications You must be signed in to change notification settings

xWhaler/Object-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Object Detection with PyTorch & OpenCV

Overview

This project demonstrates object detection using PyTorch and OpenCV. It allows detection on live video (webcam), image files, and video files.

Installation

Clone the Repository

git clone https://github.com/camelbyte/object-detection.git
cd object-detection

Install Dependencies

Don't forget to install requirements.

pip install -r requirements.txt

Usage

Run Object Detection

On Default Source (Webcam)

python object_detection.py

On a Video File

python object_detection.py --source video.mp4

On an Image File

python object_detection.py --source image.jpg

Requirements

  • Python 3.x
  • PyTorch
  • OpenCV
  • Other dependencies listed in requirements.txt

License

This project is open-source. Feel free to modify and use it as needed.


Happy coding! 🚀

About

This project demonstrates object detection using PyTorch and OpenCV. It allows detection on image and video files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages