Code Monkey home page Code Monkey logo

bullseye's Introduction

BullsEye

Vision Processing for the FIRST Robotics Competition, à la Android

###Features

  • Adjust camera settings (exposure, sensitivity, white balance, etc)
  • Calculate vertical/horizontal angles and distance to goal
  • Use Android sensors to detect exact camera mounting angle, in realtime
  • Send calculated data to RoboRIO, web, or desktop applications using WebSockets

####Under Development/Upcoming Features

  • On-the-fly parameter tuning

###Contributors

If you'd like to help improve Bullseye, let us know!

###Technical Overview

####Goal Detection Bullseye uses a very simple system for detecting retroreflective tape targets. Raw feeds from the camera are fed through:

  1. HSV Threshold

This filters out everything but the green target that we are looking for, and (when tuned) works well enough that no blurs or other filters are neccesary.

  1. Contour Detection

Using OpenCV's contour detection tools, we represent all of the blobs in the (filtered) image using their bounding rectangles.

  1. Contour Filterng

To make sure we only are tracking the goal, we run the list of blobs through a quick filter by area and aspect ratio/orientation.

The simple filtering/detection process is made possible by Android's Camera2 API, which allows for adjustment of all of the camera's capture properties (exposure, white balance, etc) so that the raw image feed is already optimized for goal detection.

(more details will be added soon)

####Calculations

####Websockets and Data Transfer

####App Framework and Lifecycle Management

###Credits This application is largely based on code provided by Android, OpenCV, and the Java-WebSocket library by TooTallNate

bullseye's People

Contributors

akhil99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bullseye's Issues

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.