@@ -61,21 +61,22 @@ As described above, switch to the `master` channel to work on or use the various
61
61
``` sh
62
62
$ flutter channel master
63
63
$ flutter doctor
64
+ $ flutter pub get
64
65
```
65
66
66
- #### Checking out the ` google/mediapipe ` repository
67
+ #### Checking out the ` google-ai-edge /mediapipe ` repository
67
68
68
69
Some of ` google/flutter-mediapipe ` repository's tooling requires a local checkout
69
- of the ` google/mediapipe ` repository. By default, this tooling assumes both
70
+ of the ` google-ai-edge /mediapipe ` repository. By default, this tooling assumes both
70
71
repositories are colocated within the same directory, but if you prefer to
71
- checkout the ` google/mediapipe ` repository elsewhere, then you can specify its
72
+ checkout the ` google-ai-edge /mediapipe ` repository elsewhere, then you can specify its
72
73
absolute path on your machine via the ` --source ` or ` -s ` flag.
73
74
74
75
#### Updating header files
75
76
76
- The reason a local checkout of ` google/mediapipe ` is required is that
77
+ The reason a local checkout of ` google-ai-edge /mediapipe ` is required is that
77
78
` google/flutter-mediapipe ` uses copies of header files found in the former. To
78
- sync the latest versions of all header files from ` google/mediapipe ` to
79
+ sync the latest versions of all header files from ` google-ai-edge /mediapipe ` to
79
80
` google/flutter-mediapipe ` , run the ` sync_headers ` command found in the ` tool `
80
81
directory like so:
81
82
@@ -101,11 +102,11 @@ MediaPipe library will ever encounter, so do not hesitate to modify `relativeInc
101
102
or add a new function if necessary.
102
103
103
104
Once you have modified this script, re-run the headers command to pull your new files
104
- out of ` google/mediapipe ` and into ` google/flutter-mediapipe ` . Pre-existing header
105
+ out of ` google-ai-edge /mediapipe ` and into ` google/flutter-mediapipe ` . Pre-existing header
105
106
files should not have any changes, but your new files should appear.
106
107
107
108
If pre-existing header files do change because they have genuinely evolved within
108
- ` google/mediapipe ` since anyone else last ran the command, those changes should be
109
+ ` google-ai-edge /mediapipe ` since anyone else last ran the command, those changes should be
109
110
resolved within their own PR.
110
111
111
112
#### Running ffigen
@@ -171,7 +172,7 @@ It is finally time to write some Dart code!
171
172
172
173
If you are contributing a new task, you should have added new header files to the
173
174
` sync_headers.dart ` script and run the command yourself. This should have copied
174
- those specified headers out of ` google/mediapipe ` and into your git clone of
175
+ those specified headers out of ` google-ai-edge /mediapipe ` and into your git clone of
175
176
` google/flutter-mediapipe ` . To begin implementing your new MediaPipe task, add
176
177
a new folder to the appropriate ` <pkg_name>/lib/src/interface/tasks/ ` directory and
177
178
add apporpriate exports to the ` tasks.dart ` barrel file. Then add abstract
0 commit comments