Git Product home page Git Product logo

iris_challenge's Introduction

Iris Drone Challenge

This is a submission to the Iris Challenge. Taken from the challenge instructions:

There are 31 images in the dataset. They are all taken from drones in a range of different environments.Provide us with as much contextual awareness about these environments as you possibly can. We want to automatically understand everything about the scene in the way a human pilot might.

This repo contains two parts:

  • Object detection model for clouds, sun, houses, and trees
  • Horizon line detector

Detector

The detector (detector/*) uses the TF Object Detection API. The procedure is as follows:

  • Find images on the internet, use LabelImg to label them (I used a tiny dataset of 20 images)
  • Generate TFRecords files for training using detector/generate_dataset.ipynb
  • Train a model from a pre-trained coco OD model using detector/train_model.ipynb
  • Run the saved model on the the challenge test_images using detector/run_model.ipynb

Horizon Angle

The horizon angle regression model (horizon/*) uses OpenCV built-ins. The procedure is as follows:

  • Preprocess image (gray, blurring)
  • Use Canny Edge Detection on image, dilate the resulting edges
  • Use Hough Line Transform to get lines, fine tune parameters as needed
  • Average the resulting Hough Lines to get the horizon

Results

Below are some hand-picked results. (Find more in output_images/*)

alt text alt text alt text alt text alt text alt text alt text alt text

Requirements

Author

Hugo Ponte

iris_challenge's People

Contributors

hu-po 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.