{"id":15020348,"url":"https://github.com/brucecatyu/yolov5-detect","last_synced_at":"2026-04-27T18:03:23.334Z","repository":{"id":43698686,"uuid":"462604217","full_name":"BruceCatYu/yolov5-detect","owner":"BruceCatYu","description":"simple yolov5 wrapper for detect(onnx, dnn, openvino)","archived":false,"fork":false,"pushed_at":"2024-03-08T08:04:45.000Z","size":458,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-26T06:21:41.585Z","etag":null,"topics":["deep-learning","detection","opencv","opencv-python","openvino","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BruceCatYu.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}},"created_at":"2022-02-23T06:07:44.000Z","updated_at":"2022-04-12T08:01:19.000Z","dependencies_parsed_at":"2024-04-07T06:32:33.637Z","dependency_job_id":"9c2d0136-b565-4a48-98a7-df24d5df7050","html_url":"https://github.com/BruceCatYu/yolov5-detect","commit_stats":null,"previous_names":["brucecatyu/yolov5-detect","2432001677/yolov5-detect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BruceCatYu/yolov5-detect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceCatYu%2Fyolov5-detect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceCatYu%2Fyolov5-detect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceCatYu%2Fyolov5-detect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceCatYu%2Fyolov5-detect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BruceCatYu","download_url":"https://codeload.github.com/BruceCatYu/yolov5-detect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceCatYu%2Fyolov5-detect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32348058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["deep-learning","detection","opencv","opencv-python","openvino","python","yolov5"],"created_at":"2024-09-24T19:54:56.975Z","updated_at":"2026-04-27T18:03:23.312Z","avatar_url":"https://github.com/BruceCatYu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YOLOv5 detect  \n\n🚀simple yolov5 wrapper for detect(onnx, dnn, openvino)  \n\n## Installation  \n```bash\npip install yolov5-detect\n```\n\n## Example  \n```python\nimport cv2\n\nfrom pathlib import Path\nfrom yolov5detect import detect, annotation\n\noutput = Path(\"output dir\")\nif not output.exists():\n    output.mkdir()\n\nyolo = detect.YoloDetect(\"test.onnx\", \"test.yaml\", 1000)\nnames = yolo.get_names()\n\nroot = Path(\"images dir\")\n\nfor item in root.rglob(\"*.jpg\"):  # detect all images and save label results\n    img = cv2.imread(str(item))\n    det = yolo.detect(img.copy(), 0.4)\n    if len(det) \u003e 0:\n        annotator = annotation.Annotator(img.copy())\n        for *xyxy, conf, cls in det:\n            annotator.box_label(xyxy, f\"{names[int(cls)]} {conf:.2f}\")\n        cv2.imwrite(annotator.result(), str(output / item.name))\n```\n\n## Reference  \n* https://github.com/ultralytics/yolov5\n* https://github.com/mikel-brostrom/Yolov5_DeepSort_Pytorch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucecatyu%2Fyolov5-detect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucecatyu%2Fyolov5-detect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucecatyu%2Fyolov5-detect/lists"}