Coder Social home page Coder Social logo

963358 / pollution-analyses Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abhishektyagi2912/pollution-analyses

0.0 0.0 0.0 38 KB

The program aims at controlling the pollution in a given area by suggesting the number of trees and the areas where they should be planted

Python 100.00%

pollution-analyses's Introduction

Pollution-analyses

The program aims at controlling the pollution in a given area by suggesting the number of trees and the areas where they should be planted. The heart of the program is Computer Vision.

Requirements

pip install numpy
pip install maths
pip install opencv-python

1. Getting the suitable Satellite images for the given region

The user is required to input the name of the area, on which the program has to be executed.The satellite images of that area will be scraped and are zoomed such as to generate a clear image of map on which image segmentation can be done.

2. Identifying the empty spaces for tree plantation

This process uses Computer vision to find the areas fit for plantation i.e. areas which are rid of any buildings,water bodies,trees,roads etc. It mainly consists of 3 parts:

i) Segmentation of the Satellite image:

The satellite image generated by the 1st step undergoes Image segmentation ,which separates all the objects in the image by focussing on edges and boundaries.The image is divided into objects such as the buildings, trees ,water bodies,roads ,barren land etc . Our first algorithm of choice is Mean Shift Algorithm for segmentation.

images 68747470733a2f2f7332322e706f7374696d672e63632f36613637616d7968642f494d475f32303138303332365f3030333930335f302e6a7067-min (1)

ii) Finding features for objects using Zernike Moments:

Zernike moments are powerful region-based shape descriptors that are invariant against linear transformations and especially against object boundary deformation. For each of the segments generated by Segmentation algorithm , Zernike moments are calculated and stored.

iii)Classification :

In this process , we need to train a Classifier which can identify the buildings, the trees and most importantly, the free land. The Zernike moments used by the above method will be used as features for these segments. The classifier is trained with labels as 'buildings','trees','water','free land' and 'roads'. After the training , We only need to find the part coming under 'Free Land' label.

3. Finding the Number of Trees to be planted:

We will be finding the pollution level of the given area . According to that level, we will find the number of trees required to bring that particular level to normal.

pollution-analyses's People

Contributors

abhishektyagi2912 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.