Coder Social home page Coder Social logo

mdp-g14-rpi's Introduction

mdp-g14-rpi

Raspberry Pi Codebase for CZ3004 MDP

Ensure that OpenCV 3.3.0 is installed

Set Up on Raspberry Pi

Working on Raspbian Jessie (2016-02-26), with Python version 3.4.2. Ensure that OpenCV 3.3.0 is installed as well.

Ensure that picamera version is at 1.1.0 (sudo pip3 install "picamera[array]" == 1.1.0)

Ensure that at-spi2-core is installed (sudo apt-get install at-spi2-core)

To run

  • Symbol Threshold Extraction: python3 -m src.detector.SymbolIsolator.py

    Take photos of the physical Symbol Cards sequentially (1 - 5, A - E, Arrow, Circle) with the PiCamera and check threshold segmentation quality for each Symbol before approving to save the image. Symbol Images extracted via THRESH_BINARY will be saved into an output folder, and will be used for image recognition. Symbol Cards will have to be backed by a white backing for the contour detection to detect the edges of the card instead of the symbol for proper perspective distortion. Take note that running this will overwrite any images existing within the output folder - do a backup before running this.

  • Main Program: sudo python3 -m main

    Begins a multithread session that will establish communications with N7 Tablet, Arduino and PC. Also starts a video stream that will attempt to detect symbols in front of it. Program will conclude the ID of the detected symbol depending on an arbitrary threshold value. Still a work in progress - multithread communication is commented out for now to test the detection alone.

Connecting a new bluetooth device

sudo hciconfig hci0 piscan

hcitool scan

mdp-g14-rpi's People

Contributors

joshenlim avatar waffleno1lover avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jermsinarocket

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.