{"id":18433142,"url":"https://github.com/ramesh-x/pyyolo","last_synced_at":"2025-04-07T19:31:08.417Z","repository":{"id":122414531,"uuid":"153056935","full_name":"Ramesh-X/pyyolo","owner":"Ramesh-X","description":"Python Wrapper for Yolo","archived":false,"fork":false,"pushed_at":"2019-01-21T06:02:28.000Z","size":24,"stargazers_count":10,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T23:02:58.427Z","etag":null,"topics":["darknet","darknet-python","darknet-wrapper","python-yolo","python-yolo-wrapper","pyyolo","yolo","yolo-wrapper","yolov3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ramesh-X.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":"2018-10-15T05:19:35.000Z","updated_at":"2022-12-08T16:31:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"8fe29783-c809-4ba5-b09d-8d3c11444f2a","html_url":"https://github.com/Ramesh-X/pyyolo","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/Ramesh-X%2Fpyyolo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramesh-X%2Fpyyolo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramesh-X%2Fpyyolo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramesh-X%2Fpyyolo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ramesh-X","download_url":"https://codeload.github.com/Ramesh-X/pyyolo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716171,"owners_count":20984183,"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","darknet-wrapper","python-yolo","python-yolo-wrapper","pyyolo","yolo","yolo-wrapper","yolov3"],"created_at":"2024-11-06T05:32:04.623Z","updated_at":"2025-04-07T19:31:08.410Z","avatar_url":"https://github.com/Ramesh-X.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyyolo\nA Python Wrapper for Yolo\n\n## Requirements\n\nThis application is tested on Ubuntu 64bit environment. Tested in `python2` environment.\nI have added `typing` support also. Therefore you will get function suggestions when you\nusing this library with an IDE. \n\nYou will need `git` and `make` in order\nto build this application.\n\n```bash\nsudo apt-get update\nsudo apt-get install build-essential\nsudo apt-get install git-core\n```\n\nThen you will need `numpy` and `opencv-python` packages as 3rd party python packages. \nYou can build `OpenCV` from sources for `python` and `C++` and enable `OpenCV` while building\ndarknet (Recommended way).\n\nOr you can install `OpenCV` directly from `pip`. Then you won't be able to build darknet with\n`OpenCV`\n\n```bash\npip install opencv-python\n```\n\n## Building and Installing\n\nFirst you need to download and build darknet.\n\n```bash\ngit clone https://github.com/Ramesh-X/pyyolo.git\ncd pyyolo\npython setup.py build_ext\n```\n\nThis will download [darknet](http://pjreddie.com/darknet) from its original\n[repository](https://github.com/pjreddie/darknet) and build the shared library.\n\nYou can pass the following additional options while you building the darknet sources.\n\n```bash\n# To provide custom darknet location\n# If you did not provide this, darknet will be downloaded to current location\nDARKNET_HOME=/home/user/darknet python setup.py build_ext\n\n# To force rebuilding sources\nREBUILD=1 python setup.py build_ext\n\n# To enable OpenCV\nOPENCV=1 python setup.py build_ext\n\n# To enable GPU\nGPU=1 python setup.py build_ext\n\n# To enable OpenMP\nOPENMP=1 python setup.py build_ext\n\n# To enable cuDNN\nCUDNN=1 python setup.py build_ext\n\n# You can combine more than one option for building.\nCUDNN=1 GPU=1 python setup.py build_ext\n```\n\nThen you can install the `pyyolo` to the system by:\n\n```bash\npip install -U .\n```\n\n## Examples\n\nThe `detect` function in darknet can be used to run `YOLO` models. Similar function is defined in\n`pyyolo` module also.\n\nI have given an example code on how to use this with `YOLO`. First you need to download `YOLO`\nweights, cfg files and meta files. `YOLO` [weights](https://pjreddie.com/media/files/yolov3.weights) can be downloaded \n[from their website](https://pjreddie.com/darknet/yolo/). Other files comes with darknet.\n\nYou will need to install `OpenCV` to run this example.\n\nYou can download the example code and change the `names_filepath`, `cfg_filepath` and \n`weights_filepath`. Then get your image which you will need to detect objects and give\nits path to `image_filepath`.\n\nYou can run the code by `python example.py` to visualize the output.\n\nSame way, `example2.py` is there to test this on videos.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framesh-x%2Fpyyolo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framesh-x%2Fpyyolo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framesh-x%2Fpyyolo/lists"}