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.
- Host: GitHub
- URL: https://github.com/0mp/io-touchpad
- Owner: 0mp
- Created: 2016-03-19T02:01:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-29T23:27:54.000Z (over 8 years ago)
- Last Synced: 2025-03-29T04:12:11.233Z (2 months ago)
- Topics: gesture-detection, gesture-recognition, machine-learning, touchpad, utility
- Language: Python
- Homepage:
- Size: 1.03 MB
- Stars: 2
- Watchers: 5
- Forks: 3
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# io-touchpad
[](https://travis-ci.org/0mp/io-touchpad)
[](https://landscape.io/github/0mp/io-touchpad/master)
[](https://www.quantifiedcode.com/app/project/538d6bb306774bd7ae52b8c4dbdd0854)
[](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.