All Projects → gkchai → Gesturerecognition

gkchai / Gesturerecognition

Gesture Recognition using TensorFlow

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gesturerecognition

Java Deep Learning Cookbook
Code for Java Deep Learning Cookbook
Stars: ✭ 156 (+721.05%)
Mutual labels:  classification, time-series
time-series-classification
Classifying time series using feature extraction
Stars: ✭ 75 (+294.74%)
Mutual labels:  time-series, classification
Tsfel
An intuitive library to extract features from time series
Stars: ✭ 202 (+963.16%)
Mutual labels:  classification, time-series
Synthetic-data-gen
Various methods for generating synthetic data for data science and ML
Stars: ✭ 57 (+200%)
Mutual labels:  time-series, classification
Sfa
Scalable Time Series Data Analytics
Stars: ✭ 222 (+1068.42%)
Mutual labels:  classification, time-series
Pycaret
An open-source, low-code machine learning library in Python
Stars: ✭ 4,594 (+24078.95%)
Mutual labels:  time-series, classification
Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+35731.58%)
Mutual labels:  time-series
Falcon Plus
An open-source and enterprise-level monitoring system.
Stars: ✭ 6,770 (+35531.58%)
Mutual labels:  time-series
Tensorflow cookbook
Code for Tensorflow Machine Learning Cookbook
Stars: ✭ 5,984 (+31394.74%)
Mutual labels:  classification
Fecon235
Notebooks for financial economics. Keywords: Jupyter notebook pandas Federal Reserve FRED Ferbus GDP CPI PCE inflation unemployment wage income debt Case-Shiller housing asset portfolio equities SPX bonds TIPS rates currency FX euro EUR USD JPY yen XAU gold Brent WTI oil Holt-Winters time-series forecasting statistics econometrics
Stars: ✭ 708 (+3626.32%)
Mutual labels:  time-series
Pyts
A Python package for time series classification
Stars: ✭ 895 (+4610.53%)
Mutual labels:  classification
Heroic
The Heroic Time Series Database
Stars: ✭ 836 (+4300%)
Mutual labels:  time-series
Labelme
Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
Stars: ✭ 7,742 (+40647.37%)
Mutual labels:  classification
Getting Things Done With Pytorch
Jupyter Notebook tutorials on solving real-world problems with Machine Learning & Deep Learning using PyTorch. Topics: Face detection with Detectron 2, Time Series anomaly detection with LSTM Autoencoders, Object Detection with YOLO v5, Build your first Neural Network, Time Series forecasting for Coronavirus daily cases, Sentiment Analysis with BERT.
Stars: ✭ 738 (+3784.21%)
Mutual labels:  time-series
Deep Learning Time Series
List of papers, code and experiments using deep learning for time series forecasting
Stars: ✭ 796 (+4089.47%)
Mutual labels:  time-series
Rnn Time Series Anomaly Detection
RNN based Time-series Anomaly detector model implemented in Pytorch.
Stars: ✭ 718 (+3678.95%)
Mutual labels:  time-series
Skin Cancer Image Classification
Skin cancer classification using Inceptionv3
Stars: ✭ 16 (-15.79%)
Mutual labels:  classification
Pytorchinsight
a pytorch lib with state-of-the-art architectures, pretrained models and real-time updated results
Stars: ✭ 713 (+3652.63%)
Mutual labels:  classification
Btgym
Scalable, event-driven, deep-learning-friendly backtesting library
Stars: ✭ 765 (+3926.32%)
Mutual labels:  time-series
Awesome Ai Ml Dl
Awesome Artificial Intelligence, Machine Learning and Deep Learning as we learn it. Study notes and a curated list of awesome resources of such topics.
Stars: ✭ 831 (+4273.68%)
Mutual labels:  time-series

Gesture Recognition using TensorFLow

Repository for building ML workflows for Gesture Recognition. The following workflows are supported: training, evaluation, inference and exporting. The scripts follow the design of well-known ML models (https://github.com/tensorflow/models) implemented using TF-slim. Following deep models are available: MLP, LSTM, CNN and CNN2D.

NOTE: LSTM model is incorrectly implemented.

Application

3-axis accelerometer data from a smartphone is used to classify four possible gestures: pickup, steady, dropoff and unknown.

Dataset

500 gestures signatures are collected. The time window is 2 sec (or 40 samples at 20 Hz sampling rate). Total size of the inputs (or the number of features) is 120 per gesture.

processed data: ./processed_data/
data in TF records format: ./dataset/

Prerequisites

Install dependencies

Preferred way is in conda/virtualenv (Python 3.5)

pip install --upgrade pip
pip install -r requirements.txt

Using the repo

Structure

./train_dir/MLP: Location of MLP model checkpoints during or after training
./export_dir/: Location of exported protobuf files ready for production
./plots/: Location of generated plots

Commands

Help:

$ python train.py --h

Training:

$ python train.py --new --model MLP --num_of_steps=20000

To evaluate an existing or newly generated model ( run in parallel in another window during training):

$  python evaluate.py  --model MLP

To run inference on generated model:

$  python inference.py  --model MLP

To export saved graph and model checkpoint into a protobuf (run inference before exporting):

$  python export.py  --model MLP

Summary

$  tensorboard --logdir=/tmp/ges_rec_logs/

Results

Running inference on an CNN model trained for 10000 steps:

$  python inference.py  --model CNN
---- Metrics ------
             precision    recall  f1-score   support

     pickup       1.00      0.92      0.96        38
     steady       0.90      1.00      0.95        37
    dropoff       0.95      0.95      0.95        37
    unknown       0.95      0.92      0.93        38

avg / total       0.95      0.95      0.95       150

---- Confusion Matrix ------
[[35  2  0  1]
 [ 0 37  0  0]
 [ 0  1 35  1]
 [ 0  1  2 35]]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].