An open API service indexing awesome lists of open source software.

https://github.com/0mp/io-touchpad

Touchpad triggered magic.
https://github.com/0mp/io-touchpad

gesture-detection gesture-recognition machine-learning touchpad utility

Last synced: about 2 months ago
JSON representation

Touchpad triggered magic.

Awesome Lists containing this project

README

        

# io-touchpad

[![Build Status](https://travis-ci.org/0mp/io-touchpad.svg?branch=master)](https://travis-ci.org/0mp/io-touchpad)
[![Code Health](https://landscape.io/github/0mp/io-touchpad/master/landscape.svg?style=flat)](https://landscape.io/github/0mp/io-touchpad/master)
[![Code Issues](https://www.quantifiedcode.com/api/v1/project/538d6bb306774bd7ae52b8c4dbdd0854/badge.svg)](https://www.quantifiedcode.com/app/project/538d6bb306774bd7ae52b8c4dbdd0854)
[![codecov](https://codecov.io/gh/0mp/io-touchpad/branch/master/graph/badge.svg)](https://codecov.io/gh/0mp/io-touchpad)

## Application

### Installation

apt-get update
apt-get install build-essential libatlas-dev libatlas3gf-base
apt-get install python3-dev python3-setuptools python3-numpy python3-scipy python3-pip
pip3 install scikit-learn
make

### Quick start

1. Go to the `app` directory.

cd app

2. Undertake a learning session with a trainig size of **5** for a symbol named **your-secret-symbol** which will create a **yss.txt** file in the **/tmp** directory.:

sudo ./app.py add 5 your-secret-symbol touch /tmp/yss.txt

3. Use the app. (Hopefully, it will recognise your symbol.)

sudo ./app run user

Run `./app --help` if you want to learn other features of this app.

## Tests

### Installation

apt-get update
apt-get install python3-pytest

### Usage

cd app/test
py.test-3

## Tools

### matrixanalyser.py

#### Installation

apt-get install python3-matplotlib
cd app/tools
make

#### Usage

cd app
sudo ./tools/matrixanalyser.py [--help] [--tolerance TOLERANCE] [--show]

More information on the usage is avaialabe if you run `./tools/matrixanalyser.py --help`.

All generated figures of the drawn symbols are stored inside
the `app/tools/data/matrixanalyser/figures` directory.