{"id":17912654,"url":"https://github.com/danielgatis/darknetpy","last_synced_at":"2025-10-06T21:24:49.712Z","repository":{"id":24655231,"uuid":"102151306","full_name":"danielgatis/darknetpy","owner":"danielgatis","description":"darknetpy is a simple binding for darknet's yolo detector.","archived":false,"fork":false,"pushed_at":"2022-12-01T13:20:15.000Z","size":10435,"stargazers_count":66,"open_issues_count":3,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T00:06:49.198Z","etag":null,"topics":["darknet","darknet-python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/danielgatis.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-01T20:38:44.000Z","updated_at":"2024-04-28T07:42:20.000Z","dependencies_parsed_at":"2023-01-14T08:00:36.456Z","dependency_job_id":null,"html_url":"https://github.com/danielgatis/darknetpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fdarknetpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fdarknetpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fdarknetpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fdarknetpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgatis","download_url":"https://codeload.github.com/danielgatis/darknetpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245180320,"owners_count":20573646,"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":["darknet","darknet-python"],"created_at":"2024-10-28T19:46:23.544Z","updated_at":"2025-10-06T21:24:49.638Z","avatar_url":"https://github.com/danielgatis.png","language":"Jupyter Notebook","funding_links":["https://www.buymeacoffee.com/danielgatis"],"categories":[],"sub_categories":[],"readme":"=========\nDarknetpy\n=========\n\n|Downloads| |DownloadsMonth| |DownloadsWeek|\n\n.. |Downloads| image:: https://pepy.tech/badge/darknetpy\n   :target: https://pepy.tech/project/darknetpy\n\n.. |DownloadsMonth| image:: https://pepy.tech/badge/darknetpy/month\n   :target: https://pepy.tech/project/darknetpy/month\n\n.. |DownloadsWeek| image:: https://pepy.tech/badge/darknetpy/week\n   :target: https://pepy.tech/project/darknetpy/week\n\nDarknetpy is a simple binding for darknet's yolo (v4) detector.\n\n.. image:: https://raw.githubusercontent.com/danielgatis/darknetpy/master/example/example.png\n\nInstallation\n============\n\nInstall it from pypi\n\n::\n\n    curl https://sh.rustup.rs -sSf | sh\n\n::\n\n    rustup default nightly\n\n::\n\n    pip install darknetpy\n\nInstall a pre-built binary\n\n::\n\n    pip install https://github.com/danielgatis/darknetpy/raw/master/dist/darknetpy-4.2-cp37-cp37m-linux_x86_64.whl\n\nAdvanced options (only for pypi installation)\n---------------------------------------------\n::\n\n    GPU=1 pip install darknetpy\n\nto build with CUDA to accelerate by using GPU (CUDA should be in /use/local/cuda).\n\n::\n\n    CUDNN=1 pip install darknetpy\n\nto build with cuDNN to accelerate training by using GPU (cuDNN should be in /usr/local/cudnn).\n\n::\n\n    OPENCV=1 pip install darknetpy\n\nto build with OpenCV.\n\n::\n\n    OPENMP=1 pip install darknetpy\n\nto build with OpenMP support to accelerate Yolo by using multi-core CPU.\n\nUsage\n=====\n\nIn example.py::\n\n    from darknetpy.detector import Detector\n\n    detector = Detector('\u003cabsolute-path-to\u003e/darknet/cfg/coco.data',\n                        '\u003cabsolute-path-to\u003e/darknet/cfg/yolo.cfg',\n                        '\u003cabsolute-path-to\u003e/darknet/yolo.weights')\n\n    results = detector.detect('\u003cabsolute-path-to\u003e/darknet/data/dog.jpg')\n\n    print(results)\n\nRuning::\n\n    python example.py\n\n\nResult::\n\n    [{'right': 194, 'bottom': 353, 'top': 264, 'class': 'dog', 'prob': 0.8198755383491516, 'left': 71}]\n\nBuild\n=====\n\nOn the project root directory\n\n::\n\n    docker run --rm -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /io/build-wheels.sh\n\nBuy me a coffee\n===============\n\nLiked some of my work? Buy me a coffee (or more likely a beer)\n\n|BuyMeACoffee|\n\n.. |BuyMeACoffee| image:: https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\n   :target: https://www.buymeacoffee.com/danielgatis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fdarknetpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgatis%2Fdarknetpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fdarknetpy/lists"}