Giter VIP home page Giter VIP logo

dust_detection's Introduction

Dust Detecting AI

Hi, this is a Dust Detector Neural Network. Solar panels are getting more and more popular; however, many people don't know that when solar panels aren't cleaned they can lose up to 35% of their effectiveness. To help people pay less for electricity bills and contribute to the elimination of climate change I created this project.

Clean Solar Panel

The Algorithm

THe first step was downloading a database which has images of both dirty and clean solar panels. Next step was to split it to TRAIN/TEST/VAL directories in order to train a model based on them. After spliting I deleted some images that were advertisements of solar panels. After spliting and removing the ads I started coding the main part of this project. To make my project more usefull and better instead of creating my own neural network I used a pretrained RESNET-18. I trained it for 40 epochs and increased the batch size to 12, instead of default 8. The model has around 72% accuracy and is the best one I could train. In the future I will try to make it more accurate and code my own neural network from scratch.

Running this project

  1. Make sure you downloaded jetson-inference library and built it succesfully
  2. Download the folder of model Solar2 or any model in models folder
  3. Download modified version of imagenet.py file
  4. Remove imagenet from jetson_inference/build/aarch64/bin/ and place the new one in it
  5. Place your image jetson-inference/python/training/classification directory
  6. Download runALL.py file
  7. Run runALL.py --name --model command with the file name of the image and the model you downloaded
  8. Your result will be a <name>__RESULT.jpg

[View a video explanation here](video link)

dust_detection's People

Contributors

czalbia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.