This project is a simple Python script that allows you to perform object detection on a specific frame of a video using OpenCV and a pre-trained object detection model. It's a useful tool for quickly analyzing the content of a video at a specific timestamp.
- Object Detection: Detects objects in a specified frame of a video using a pre-trained model.
- User-Friendly: You can specify the timestamp (hh:mm:ss) for the frame you want to analyze.
- Frame Saving: The detected objects are annotated, and you can save the frame as an image for later reference.
- Python
- OpenCV (cv2)
- Matplotlib (for displaying images)
Clone or download this repository to your local machine.
- Run the "main.py" script.
- You'll be prompted to enter a timestamp in the format hh:mm:ss.
- The script will extract the frame at that timestamp from the video and perform object detection.
- The annotated frame is displayed using Matplotlib, and it's also saved as an image in the project directory.