This packages mainly aims to make an easy process for dataset manipulation.
Project description
moclaphar
Motion Classification Human Activity Recognition Helper Package
Usage
dataset
HDF5Generator
from moclaphar.dataset.hdf5generator import HDF5Generator
dataset = HDF5Generator("/dataset/path", "training")
dataset.data['training_data']
dataset.data['training_label']
make_training_data
from moclaphar.dataset.dataset import make_training_data
make_training_data(data_root="/annotated/data/root/dir/",
save_root="/dir/to/store/hdf5/files",
window_size=300, stride=90, chunk_size=100)
annotator
run_annotator
from moclaphar.annotator import run_annotator
run_annotator("/video/file/path/", "/data/file/path/csv/or/mat/", vw=1024)
or
from moclaphar.annotator import run_annotator
run_annotator("", "", vw=1024)
The file selector dialogue will prompt.
Getting started
pip install
pip install moclaphar
Environments
- Python 3.6
Dependencies
pip install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moclaphar-0.0.12.tar.gz
(14.5 kB
view hashes)
Built Distribution
moclaphar-0.0.12-py3-none-any.whl
(17.4 kB
view hashes)
Close
Hashes for moclaphar-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ef1ee52efa39948cc4bd84190e98616df9f5d036332c13119d7ab10b1f2b46c |
|
MD5 | c5dbbdcd14a2ad2a9f5928d204735f04 |
|
BLAKE2b-256 | cfa4ef1b8c03e264bc1a27cbb7a9b6a7660f1e58e90ff7d55a5ab4d8228c07d9 |