https://github.com/bipinkrish/pose-dart
Dart library for viewing, augmenting, and handling .pose files
https://github.com/bipinkrish/pose-dart
dart pose
Last synced: about 2 months ago
JSON representation
Dart library for viewing, augmenting, and handling .pose files
- Host: GitHub
- URL: https://github.com/bipinkrish/pose-dart
- Owner: bipinkrish
- License: bsd-3-clause
- Created: 2024-02-21T18:13:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T09:52:23.000Z (5 months ago)
- Last Synced: 2024-12-30T10:23:36.051Z (5 months ago)
- Topics: dart, pose
- Language: Dart
- Homepage: https://pub.dev/packages/pose
- Size: 2.54 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Pose
[](https://pub.dev/packages/pose)
This is `dart` implementation of its [python counterpart](https://github.com/sign-language-processing/pose/tree/master/src/python) with limited features
This repository helps developers interested in Sign Language Processing (SLP) by providing a complete toolkit for working with poses.
## File Format Structure
The file format is designed to accommodate any pose type, an arbitrary number of people, and an indefinite number of frames.
Therefore it is also very suitable for video data, and not only single frames.At the core of the file format is `Header` and a `Body`.
* The header for example contains the following information:
- The total number of pose points. (How many points exist.)
- The exact positions of these points. (Where do they exist.)
- The connections between these points. (How are they connected.)## Features
- ✔️ Reading
- ❌ Normalizing
- ❌ Augmentation
- ❌ Interpolation
- ✔️ Visualization (2x slow compared to python and supports only GIF)## Usage
```dart
import 'dart:io';
import 'dart:typed_data';
import 'package:pose/pose.dart';void main() async {
File file = File("pose_file.pose");
Uint8List fileContent = file.readAsBytesSync();
Pose pose = Pose.read(fileContent);
PoseVisualizer p = PoseVisualizer(pose);
await p.saveGif("demo.gif", p.draw());
}
```