{"id":13856962,"url":"https://github.com/victorqribeiro/deforestation","last_synced_at":"2025-06-12T01:33:05.735Z","repository":{"id":128646894,"uuid":"193380616","full_name":"victorqribeiro/deforestation","owner":"victorqribeiro","description":"A machine learning exercise, using KNN to classify deforested areas","archived":false,"fork":false,"pushed_at":"2019-06-23T18:19:32.000Z","size":10998,"stargazers_count":29,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T19:54:02.239Z","etag":null,"topics":["image-analysis","image-classification","image-processing","image-recognition","knn","machine-learning"],"latest_commit_sha":null,"homepage":null,"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/victorqribeiro.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":"2019-06-23T18:11:48.000Z","updated_at":"2025-03-18T08:05:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f65a0eaf-cec1-4d7b-99a1-31d72e4d3133","html_url":"https://github.com/victorqribeiro/deforestation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorqribeiro/deforestation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fdeforestation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fdeforestation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fdeforestation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fdeforestation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorqribeiro","download_url":"https://codeload.github.com/victorqribeiro/deforestation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fdeforestation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259377025,"owners_count":22848269,"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":["image-analysis","image-classification","image-processing","image-recognition","knn","machine-learning"],"created_at":"2024-08-05T03:01:20.442Z","updated_at":"2025-06-12T01:33:05.682Z","avatar_url":"https://github.com/victorqribeiro.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Deforestation\n\nThat time I used [KNN](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm) to classify deforested areas for my machine learning class.\n\n![Result](result.png)\n\n## About\n\nThis project was developed as an assignment for a machine learning class, where we were given a pictures from the Amazon forest and we should write a machine learning algorithm to identify possibles deforested areas, including farming areas. \n\nI then gather some training data, generated a histogram for every image and analysed the final image with a simple KNN (k=7) I wrote.\n\nI was very happy with the results I got given the little code I wrote (this project is from 2017).\n\n## How to run\n\n```\npython classify.py img/final_image.png\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Fdeforestation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorqribeiro%2Fdeforestation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Fdeforestation/lists"}