{"id":25042815,"url":"https://github.com/pathanin-kht/objectdetector","last_synced_at":"2026-05-05T05:34:27.045Z","repository":{"id":271848129,"uuid":"914745083","full_name":"pathanin-kht/ObjectDetector","owner":"pathanin-kht","description":"Object Detector by YOLOv5","archived":false,"fork":false,"pushed_at":"2025-02-04T18:37:25.000Z","size":506,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T05:48:31.212Z","etag":null,"topics":["opencv","python","yolov5"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pathanin-kht.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-10T08:14:07.000Z","updated_at":"2025-02-04T18:37:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6b6afb5-285f-46c0-a532-acb01d9a50ad","html_url":"https://github.com/pathanin-kht/ObjectDetector","commit_stats":null,"previous_names":["pathanin-kht/object-detector","pathanin-kht/objectdetector"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathanin-kht%2FObjectDetector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathanin-kht%2FObjectDetector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathanin-kht%2FObjectDetector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathanin-kht%2FObjectDetector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pathanin-kht","download_url":"https://codeload.github.com/pathanin-kht/ObjectDetector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390860,"owners_count":20769478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["opencv","python","yolov5"],"created_at":"2025-02-06T04:47:19.830Z","updated_at":"2026-05-05T05:34:27.004Z","avatar_url":"https://github.com/pathanin-kht.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Object Detection v1.0.0\n\n## Overview\nThis project implements an object detection system using YOLOv5 and OpenCV. It detects objects in real-time from a webcam feed, displaying relevant information such as FPS and detected objects. The system also allows users to record video and capture frames on demand using a pre-trained YOLOv5 model from the Ultralytics repository.\n\n## Features\n- **Real-time Object Detection**: Detects and classifies objects in the camera stream.\n- **FPS Display**: Shows real-time FPS to monitor performance.\n- **Recording**: Toggle video recording with the press of a button. Saves the video in **MP4** format.\n- **Frame Capture**: Capture and save frames as images with a timestamped filename.\n- **Alert on Detection**: Highlights the number of detected objects and alerts the user.\n\n## Controls\n- **Press 'q'**: Quit the program.\n- **Press 'r'**: Toggle video recording on/off.\n- **Press 'c'**: Capture the current frame as a JPG image.\n\n## Example\n![TestCase](https://github.com/pathanin-kht/Object-Detector/blob/5a727539c3cfdb7185cd8b608a984dc9b60506a4/TestCase.jpg)\n  \n### Installation\n1. Clone or download the repository.\n   ```bash\n   git clone https://github.com/pathanin-kht/ObjectDetector.git\n3. Install the required dependencies:\n   ```bash\n   pip install -r requirements.txt\n4. Run the script.\n   ```bash\n   python object_detection.py\n\n## Acknowledgements\n- **YOLOv5** for object detection [Ultralytics](https://github.com/ultralytics/yolov5)\n- **OpenCV** for video handling [OpenCV](https://opencv.org/)\n- **PyTorch** for deep learning [Pytorch](https://pytorch.org/)\n- **NumPy** for numerical computation [Numpy](https://numpy.org/)\n\n## License\nThis project is licensed under the [MIT License](LICENSE) - see the LICENSE file for details.\n\n## Contact\nFor feedback or inquiries, feel free to reach out via [pathanin.kht@gmail.com](pathanin.kht@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpathanin-kht%2Fobjectdetector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpathanin-kht%2Fobjectdetector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpathanin-kht%2Fobjectdetector/lists"}