GithubHelp home page GithubHelp logo

ifm-challenge's Introduction

Intelligent Flying Machines

I ran this pipeline on the two images provided, and also created two modified images to experiment on: a rotated version of the low resolution image, and a flipped version of the low resolution image with two additional labels placed onto the box.

The pipeline returns the annotated images; the label is normalized and outlined in green.

High res Low res Low res, rotated Low res, modified

Scripts and functions

labelFinder.py -- contains the main functions for finding and annotating labels
highres_ex_script.py -- a script to input parameters and run the functions in labelFinder.py
lowres_ex_script.py -- a script to input parameters and run the functions in labelFinder.py
labelWindow.py -- contains functions for displaying trackbars and updates the window with parameter changes
parameter_trackbar_ex_script.py -- a script to run labelWindow.py; example images were input here

Requirements

These scripts and functions have been tested on OpenCV 3.2.0, OpenCV 3.1.0, Python 3.5.2, and Python 3.6.1.

To-do

Currently highres_ex_script.py, lowres_ex_script.py and labelWindow.py do output the locations, orientations, perimeter, and area of the labels, but I need to return them from labelWindow.py, preferably in an object or list format for any additional scripts. Also, there is currently no calculation for confidence in the label prediction; my current idea for implementation is to use template matching to calculate correlation between all the labels. This will work for an image with many labels, but won't be useful when there is only one label in the image. I could also find if there exists barcodes/text lines in the labels by looking where they should be and see if darker values appear, but this seems like it won't produce a robust metric.

Other stuff

You can find more about me on my website, http://reynoldsalexander.com

Thanks to ferret-guy for putting this repo online so that I could clone it just hours after IFM removed the repo!

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.