Code Monkey home page Code Monkey logo

danger-drone's Introduction

Danger Drone

Entry for the Feb 2017 Dublin AI Hackathon.

Demo

It's a web app targeted for the Hololens edge browser that allows the wearer to control the motion of a camera attached to a Raspberry Pi. There's a frontend bit that lives in the browser which talks to a flask app running on the Pi which then talks to Microsoft's Cognitive Services Emotion API.

The microsoft api is some pre-trained magic that you send a binary blob to and it gives you back some json: Emotion Api Example

You navigate to the web app and you're presented with a range slider to control pan movement as well as two buttons, one that detects the emotions of the people in frame and another that randomly pans the camera until it detects a person with the desired emotion.

The idea is that this type of control system could be deployed on some sort of drone (ideally with more than one axis of motion) which can be flying around searching for happy people or some more interesting application of AI, perhaps a drone that can find angry people to shoot at.

Dependencies

The project is dependent on this thing being set up and running: https://github.com/silvanmelchior/RPi_Cam_Web_Interface

Running

Bleugh.

Future Dev

No. If you wanted, the first place for easy expansion is to change the "Find Emotion" button to a find emotion dropdown where you select the emotion as opposed to it defaulting to happiness. I'd also serve the web app on a flask route instead of spinning up a separate static python http server for it.

danger-drone's People

Contributors

22a avatar

Watchers

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