google / flutter-mediapipe

Apache License 2.0
212 stars 14 forks source link

Add utility to collect headers from google/mediapipe #10

Closed craiglabenz closed 1 year ago

craiglabenz commented 1 year ago

Summary

Adds a script to crawl google/mediapipe for the headers necessary to run ffigen for the flutter_mediapipe packages. This command assumes the two repositories (this one, google/flutter-mediapipe, and the main one, google/mediapipe) are both checked out on the machine running the command. google/mediapipe is assumed to be adjacent to google/flutter-mediapipe, though a CLI option exists to override this assumption.

Usage

$ cd packages/build_cmd
$ dart bin/main.dart headers [-s /path/to/google/mediapipe]

TODOs:

craiglabenz commented 1 year ago

This PR is also ready for final review, @Piinks 🎉