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

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

example/pose_example.dart

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

void main() async {
  Stopwatch stopwatch = Stopwatch()..start();

  File file = File("pose_file.pose");
  Uint8List fileContent = file.readAsBytesSync();
  print("File Read");

  Pose pose = Pose.read(fileContent);
  print("File Loaded");

  PoseVisualizer p = PoseVisualizer(pose, thickness: 2);
  print("File Visualized");

  File giffile = await p.saveGif("demo.gif", p.draw());
  print("File Saved ${giffile.path}");

  print('Time taken : ${stopwatch.elapsed}');
}
3
likes
140
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

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

image, tuple

More

Packages that depend on pose