{"id":20114963,"url":"https://github.com/d-d-roshan/solar-panel-detection","last_synced_at":"2026-07-03T06:05:29.551Z","repository":{"id":230198873,"uuid":"778743269","full_name":"D-D-Roshan/solar-panel-detection","owner":"D-D-Roshan","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-15T13:19:51.000Z","size":7691,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T06:21:54.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/D-D-Roshan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-03-28T10:10:10.000Z","updated_at":"2024-08-15T13:19:53.000Z","dependencies_parsed_at":"2024-11-13T18:47:08.602Z","dependency_job_id":null,"html_url":"https://github.com/D-D-Roshan/solar-panel-detection","commit_stats":null,"previous_names":["d-d-roshan/solar-panel-detection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-D-Roshan%2Fsolar-panel-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-D-Roshan%2Fsolar-panel-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-D-Roshan%2Fsolar-panel-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-D-Roshan%2Fsolar-panel-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D-D-Roshan","download_url":"https://codeload.github.com/D-D-Roshan/solar-panel-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241557166,"owners_count":19981881,"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":[],"created_at":"2024-11-13T18:33:19.547Z","updated_at":"2025-10-29T20:19:33.446Z","avatar_url":"https://github.com/D-D-Roshan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Solar Panel Detection from Aerial Images\n\nThis project aims to detect solar panels in aerial satellite images using machine learning techniques. By segmenting images into smaller data segments and employing a Convolutional Neural Network (CNN), the model identifies solar panels and calculates the number of solar panel houses out of the total number of houses in a city.\n\n## Features\n\n- **Image Segmentation:** Divides aerial images into smaller segments for detailed analysis.\n- **Solar Panel Detection:** Identifies solar panels using a CNN model.\n- **Count Calculation:** Returns the number of solar panel houses relative to the total number of houses.\n- **Python-Based:** Implemented using Python with popular machine learning and computer vision libraries.\n\n## Technologies Used\n\n- **Python:** Programming language for implementing the machine learning model.\n- **OpenCV:** For image processing and manipulation.\n- **Keras:** For building and training the Convolutional Neural Network (CNN).\n- **NumPy/Pandas:** For data handling and manipulation.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/D-D-Roshan/solar-panel-detection\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd solar-panel-detection\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Ensure you have the required datasets. The dataset should be in the `data/` directory. You may need to download it separately if not included.\n\n\n## Screenshots\n\n1. Images with the solar panel\n![images with solar panel](https://github.com/D-D-Roshan/solar-panel-detection/blob/main/Figure_1.png)\n\n2. Images with no solar panel\n![images no with solar panel](https://github.com/D-D-Roshan/solar-panel-detection/blob/main/output1.png)\n\n*Example of solar panel detection results.*\n\n\n\n## Contact\n\n\u003ca href=\"https://www.facebook.com/roshan.d.942145\"\u003e\n\u003cimg width=\"100\" height=\"100\" src=\"https://user-images.githubusercontent.com/74038190/235294010-ec412ef5-e3da-4efa-b1d4-0ab4d4638755.gif\" target=\"_blank\"/\u003e\n\u003c/a\u003e \n\u003ca href=\"https://discord.com/invite/M8he9HxQ\"\u003e\n\u003cimg width=\"100\" height=\"100\" src=\"https://user-images.githubusercontent.com/74038190/235294015-47144047-25ab-417c-af1b-6746820a20ff.gif\" target=\"_blank\"/\u003e\n\u003c/a\u003e \n\u003ca href=\"https://www.linkedin.com/in/d-d-roshan\"\u003e\n\u003cimg width=\"100\" height=\"100\" src=\"https://user-images.githubusercontent.com/74038190/235294012-0a55e343-37ad-4b0f-924f-c8431d9d2483.gif\" target=\"_blank\"/\u003e\n\u003c/a\u003e  \n\u003ca href=\"https://www.instagram.com/d_roshan_official\"\u003e\n\u003cimg width=\"100\" height=\"100\" src=\"https://user-images.githubusercontent.com/74038190/235294013-a33e5c43-a01c-43f6-b44d-a406d8b4ab75.gif\" target=\"_blank\"/\u003e\n\u003c/a\u003e  \n\u003ca href=\"https://github.com/D-D-Roshan/D-D-Roshan\"\u003e\n\u003cimg width=\"100\" height=\"100\" src=\"https://img.icons8.com/?size=100\u0026id=akG4VRhAoSii\u0026format=png\u0026color=000000\" target=\"_blank\"/\u003e\n\u003c/a\u003e \n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-d-roshan%2Fsolar-panel-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-d-roshan%2Fsolar-panel-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-d-roshan%2Fsolar-panel-detection/lists"}