pose 1.1.7 copy "pose: ^1.1.7" to clipboard
pose: ^1.1.7 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.inMilliseconds} milli-seconds');
}
4
likes
160
points
59
downloads

Publisher

verified publisherbipin.app

Weekly Downloads

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

Repository (GitHub)

Topics

#pose

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

image, tuple

More

Packages that depend on pose