This project demonstrates object detection using a Deep Neural Network (DNN) with Python and OpenCV. The goal is to identify and label objects appearing on the screen in real-time, using a dataset of text files containing the names of detectable objects.
- Detects multiple objects in images or video streams
- Labels detected objects using a predefined dataset
- Utilizes OpenCV for image processing and DNN operations
- Easy to modify and extend for custom datasets
.
├── dnn_model/ # Model files and datasets
├── OD_DNN.py # Main Python script
├── README.md # Project documentation
- Python 3.x
- OpenCV (cv2)
Install dependencies with:
pip install opencv-python-
Clone the repository:
git clone https://github.com/isabhiii/Object-Detection-using-DNN.git cd Object-Detection-using-DNN -
Ensure model files and datasets are in the
dnn_model/directory. -
Run the main script:
python OD_DNN.py
-
The script will process the input (image or video) and display detected objects with labels.
- To use a different dataset, replace the text files in
dnn_model/with your own. - To adjust the model or detection logic, modify
OD_DNN.py.
- OpenCV for computer vision libraries
- Community contributors and dataset providers
For questions or contributions, please open an issue or submit a pull request.