This project demonstrates object detection in images and videos using the PixelLib library. PixelLib is a powerful library for object detection, instance segmentation, and image and video editing.
- Object detection in images
- Object detection in videos
- Instance segmentation
- Pre-trained models available
- Custom training option
-
Install the necessary dependencies: pip install pixellib opencv-python
-
Download the pre-trained model weights from the PixelLib model zoo.
- For image object detection: Download Link
- For video object detection: Download Link
- Object Detection in Images:
-
Run the following command to perform object detection on an image:
python detect_face_image.py
-
Replace the image path present in the code.
- Object Detection in Videos:
-
Run the following command to perform object detection on a video:
python detect_face_video.py
-
Replace the video path present in the code.
Contributions are welcome! If you have any ideas, improvements, or bug fixes, please submit a pull request.
This project is licensed under the MIT License.