pose 1.1.1 copy "pose: ^1.1.1" to clipboard
pose: ^1.1.1 copied to clipboard

Dart library for loading, viewing, augmenting, and handling .pose files

Pose #

This is a dart implementation of its python counterpart with limited features

This repository helps developers interested in Sign Language Processing (SLP) by providing a complete toolkit for working with poses. It includes a file format with Python and Javascript readers and writers, which hopefully makes its usage simple.

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 #

import 'dart:io';
import 'dart:typed_data';
import 'package:pose/pose.dart';

void main() {
  File file = File("pose_file.pose");
  Uint8List fileContent = file.readAsBytesSync();
  Pose pose = Pose.read(fileContent);
  PoseVisualizer p = PoseVisualizer(pose);
  p.saveGif("demo.gif", p.draw());
}

Demo Gif

3
likes
0
pub points
0%
popularity

Publisher

verified publisherbipin.app

Dart library for loading, viewing, augmenting, and handling .pose files

Repository (GitHub)
View/report issues

Topics

#pose

License

unknown (LICENSE)

Dependencies

image, tuple

More

Packages that depend on pose