GithubHelp home page GithubHelp logo

nrel / panel-segmentation Goto Github PK

View Code? Open in Web Editor NEW
21.0 8.0 5.0 216.98 MB

This open-source package provides a framework for automatically detecting and extracting metadata from solar array installations in satellite images.

Home Page: https://panel-segmentation.readthedocs.io

License: MIT License

Jupyter Notebook 85.83% Python 14.02% Makefile 0.05% Batchfile 0.06% CSS 0.03%
solar photovoltaics photovoltaic-panels convolutional-neural-networks computer-vision

panel-segmentation's Introduction

Panel Segmentation

This repo contains the scripts for automated metadata extraction of solar PV installations, using satellite imagery coupled with computer vision techniques. In this package, the user can perform the following actions:

To install Panel-Segmentation, perform the following steps:

  1. You must have Git large file storage (lfs) on your computer in order to download the deep learning models in this package. Go to the following site to download Git lfs:

https://git-lfs.github.com/

  1. Once git lfs is installed, you can now install Panel-Segmentation on your computer. We are still working on making panel-segmentation availble via PyPi, so entering the following in the command line will install the package locally on your computer:

pip install git+https://github.com/NREL/Panel-Segmentation.git@master#egg=panel-segmentation

  1. When initiating the PanelDetection() class, be sure to point your file paths to the model paths in your local Panel-Segmentation folder!

panel-segmentation's People

Contributors

ayobamiedun avatar kandersolar avatar kperry2215 avatar kperrynrel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

panel-segmentation's Issues

Try the rectangle method.

Try out the cv2.minAreaRect() rotated rectangle function for azimuth estimation, per Tim Silverman's recommendation.

Incorporate LIDAR for tilt estimates.

Investigate whether LIDAR can be used for tilt estimation in the package (need to determine if LIDAR data is publicly available). Per Joseph Karas's recommendation.

Additional metadata features

Work with Stephanie Trusty to add in following features:

-Array size estimates
-Ground coverage ratio
-Terrain classification (??)

Can't run Jupiter example

I keep getting this error when I run

#CREATE AN INSTANCE OF THE PANELDETECTION CLASS TO RUN THE ANALYSIS
panelseg = pseg.PanelDetection(model_file_path ='./panel_segmentation/VGG16Net_ConvTranpose_complete.h5', 
                               classifier_file_path ='./panel_segmentation/VGG16_classification_model.h5',
                              mounting_classifier_file_path='./panel_segmentation/object_detection_model.pth')

#GENERATE A SATELLITE IMAGE USING THE ASSOCIATED LAT-LONG COORDS AND THE GOOGLE
#MAPS API KEY
img = panelseg.generateSatelliteImage(latitude, longitude,
                                      file_name_save,
                                      google_maps_api_key)
#Show the generated satellite image
plt.imshow(img)

SavedModel file does not exist at: ./panel_segmentation/VGG16_classification_model.h5/{saved_model.pbtxt|saved_model.pb}

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.