{"id":26846019,"url":"https://github.com/sampreets3/treecounter-ml","last_synced_at":"2026-03-08T18:38:15.238Z","repository":{"id":143052092,"uuid":"335112519","full_name":"sampreets3/treecounter-ML","owner":"sampreets3","description":"A simple application that detects and counts the number of trees in a vineyard. Makes use of darknet and OpenCV.","archived":false,"fork":false,"pushed_at":"2022-01-02T19:27:16.000Z","size":151921,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T21:07:48.840Z","etag":null,"topics":["darknet","deep-learning","opencv","opencv-python","yolov3"],"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/sampreets3.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":"2021-02-01T23:27:12.000Z","updated_at":"2024-10-16T19:32:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"35dd256e-4b01-41e2-9f85-847cacb11f64","html_url":"https://github.com/sampreets3/treecounter-ML","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampreets3%2Ftreecounter-ML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampreets3%2Ftreecounter-ML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampreets3%2Ftreecounter-ML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sampreets3%2Ftreecounter-ML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sampreets3","download_url":"https://codeload.github.com/sampreets3/treecounter-ML/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251782761,"owners_count":21642986,"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","deep-learning","opencv","opencv-python","yolov3"],"created_at":"2025-03-30T19:51:19.008Z","updated_at":"2026-03-08T18:38:10.217Z","avatar_url":"https://github.com/sampreets3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# treecounter-ML\nA simple application that detects and counts the number of trees in a vineyard. Makes use of [darknet](https://pjreddie.com/darknet/) and [OpenCV](https://opencv.org/).\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"imgs/test.gif\" width=\"600\" height=\"400\"\u003e                           \n\u003c/p\u003e\n\n---\n\n## Setup\n- Clone the repository onto your local machine : `git clone https://github.com/sampreets3/treecounter-ML`\n- Create the **videos** and **models** directories :\n  ```\n  $ mkdir models\n  $ mkdir videos\n  ```\n- Add the video in the `videos` directory.\n- Add the model-specific data in the `models` directory\n- Run the detector :\n```sh\npython3 test.py -iv imgs/input-video.mp4 -ov result.mp4\n```\n---\n\n### Common Problems:\n\n - [![GtkMessage-fixed](https://img.shields.io/badge/GtkMessage-fixed-green.svg)](https://shields.io/) **Gtk-Message: Failed to load module \"canberra-gtk-module\" :** You can fix the issue by installing the gtk and gtk3 modules `sudo apt install libcanberra-gtk-module libcanberra-gtk3-module`\n\n### Maintainer Information\n\nSampreet Sarkar `sampreets3@gmail.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsampreets3%2Ftreecounter-ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsampreets3%2Ftreecounter-ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsampreets3%2Ftreecounter-ml/lists"}