Giter Club home page Giter Club logo

amoeg's Introduction

This repo runs the MaskRCNN model over the orthomosaic imageries to detect object of interest, extracts the gps coordinates for the detected objects from the imagery, and export them to shapefiles. Lots of tutorial and github resources pertain to inference over single non geotiff image. In contrary, this repo applies user passed maskrcnn trained model to orthomosaic imagery in geoTIFF format. User can run batch of orthomosaic imageries in a single run; it's just that user has to put all the orthomosaic imageries into a same folder.

Limitations: Only RGB (three bands) orthomosaic is supported at this time This repo has not been tested over imagery that has black pixels outside of boundaries (These black pixels appear when the imagery are not in rectanglur shape)

How to use:

If you are using colab:

step1: Mount your google drive from google.colab import drive drive.mount('/content/drive')

step2: clone the github repository !git clone https://github.com/BishwaBS/AMOEG.git

step3: set your cloned directory as current working directory import os os.chdir("path to your cloned directory")

step4: install the packages using following command !pip install -r requirements.txt

step5: run the process !python apply_maskrcnn_orthomosaic.py --raster_dir <path to your raster directory> --modeldir <relative path to your modeldirectory that contains .pth and metrics.json files --partition number <int> (specify value (int) based on how many splits you want to make the mosaick imagery into" --outputdir <relative path to output directory where you want to save your shapefiles

If you are using your local machine:

First create a virtual environment using conda or other parties. After virtual environmet has been setup, follow all the steps from step 2 as mentioned above

amoeg's People

Contributors

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