Use wget rather than npm pack to fetch @mediapipe/tasks-vision.

End users might not have npm set up on their machine, using wget
makes the installation process more straightforward.
Moreover, this change pins a specific tasks-vision release, making
Galene installation a bit more reproducible.
This commit is contained in:
A. Iooss authored and Juliusz Chroboczek committed 2025-10-13 01:37:20 +02:00
1 parent c7be11eb06
commit 5a334b7286
1 file changed
+2 -2
+2 -2
View File
@@ -37,8 +37,8 @@ Optionally install Google's MediaPipe library:
```sh
mkdir mediapipe
cd mediapipe
npm pack @mediapipe/tasks-vision
tar xzf mediapipe-tasks-vision-*.tgz
wget https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.21.tgz
tar xzf tasks-vision-*.tgz
rm -f ../static/third-party/tasks-vision
mv package ../static/third-party/tasks-vision
cd ../static/third-party/tasks-vision