Skip to content

Commit 001a5d2

Browse files
Update face-landmarks to use latest TFJS (#1490)
1 parent 540391a commit 001a5d2

File tree

6 files changed

+132
-130
lines changed

6 files changed

+132
-130
lines changed

face-landmarks-detection/demos/live_video/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@mediapipe/face_mesh": "~0.4.0",
13-
"@tensorflow-models/face-detection": "~1.0.0",
13+
"@tensorflow-models/face-detection": "^1.0.3",
1414
"@tensorflow-models/face-landmarks-detection": "file:../../dist",
1515
"@tensorflow/tfjs-backend-wasm": "^4.13.0",
1616
"@tensorflow/tfjs-backend-webgl": "^4.13.0",

face-landmarks-detection/demos/live_video/yarn.lock

+37-38
Original file line numberDiff line numberDiff line change
@@ -1014,58 +1014,57 @@
10141014
"@parcel/utils" "^1.11.0"
10151015
physical-cpu-count "^2.0.0"
10161016

1017-
"@tensorflow-models/face-detection@~1.0.0":
1018-
version "1.0.1"
1019-
resolved "https://registry.yarnpkg.com/@tensorflow-models/face-detection/-/face-detection-1.0.1.tgz#f0b68f5c8ebf38d588ae2c9c6eb7517e7faad2b5"
1020-
integrity sha512-oIEEqHy4qbkGn5xT1ldzwxK5s948+t7ts0+WoIfTPKwScpNa8YY4GJf+fpyhtOxUGGAZymXx25jrvF9YlAt9dg==
1017+
"@tensorflow-models/face-detection@^1.0.3":
1018+
version "1.0.3"
1019+
resolved "https://registry.yarnpkg.com/@tensorflow-models/face-detection/-/face-detection-1.0.3.tgz#e7fff464812703df0acba3748c12e4498e114ab3"
1020+
integrity sha512-4Ld/vFF8MrdFdrMWhlLKZD4hMW0PNY9OkYeqoCPNZ+LwFyenxAqVaNaWrR8JKp37vw9Nuzp4ILbkal5zPUnA0g==
10211021
dependencies:
10221022
rimraf "^3.0.2"
1023+
tslib "2.4.0"
10231024

10241025
"@tensorflow-models/face-landmarks-detection@file:../../dist":
10251026
version "0.0.0"
10261027

1027-
"@tensorflow/tfjs-backend-cpu@4.9.0":
1028-
version "4.9.0"
1029-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-4.9.0.tgz#76ce8f4e83814293b662404f16d70f65926195a2"
1030-
integrity sha512-AHIfI3iD1fyQgQKeoQmtkI3exPWRfOo+W0Ws/bxOdapTXcAYWGg0179t52j8XPDwsl8WopfaTINNgYNG6FnP3Q==
1028+
"@tensorflow/tfjs-backend-cpu@4.21.0":
1029+
version "4.21.0"
1030+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-4.21.0.tgz#27a489f838b88aa98220da0aaf29f58d16fc9d05"
1031+
integrity sha512-yS9Oisg4L48N7ML6677ilv1eP5Jt59S74skSU1cCsM4yBAtH4DAn9b89/JtqBISh6JadanfX26b4HCWQvMvqFg==
10311032
dependencies:
10321033
"@types/seedrandom" "^2.4.28"
10331034
seedrandom "^3.0.5"
10341035

1035-
"@tensorflow/tfjs-backend-wasm@^4.9.0":
1036-
version "4.9.0"
1037-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-4.9.0.tgz#1e1fec3406b312efc814f8238c5c25052e01650e"
1038-
integrity sha512-HsRr9qyu/1pdpkmSoF+1QMtpuE61QOVpH55j6HGNcN+DGuF8TSh80imzZa9JC+A7DXyQdHBKCbUqytuisBQDaA==
1036+
"@tensorflow/tfjs-backend-wasm@^4.13.0":
1037+
version "4.21.0"
1038+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-4.21.0.tgz#746cca38a82beea926dc0d72e1c2f6e06401995e"
1039+
integrity sha512-/UbdKr/uZDuAt/vBS/QnOT5+esV4B9B4nHOQN5PaF6SUr8p099KHROh6BBnB7fhC7kFb51Pbrf9cc4nu9ZsMoQ==
10391040
dependencies:
1040-
"@tensorflow/tfjs-backend-cpu" "4.9.0"
1041+
"@tensorflow/tfjs-backend-cpu" "4.21.0"
10411042
"@types/emscripten" "~0.0.34"
10421043

1043-
"@tensorflow/tfjs-backend-webgl@^4.9.0":
1044-
version "4.9.0"
1045-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-4.9.0.tgz#272812af5c61d02af3b541ed543c3484f5eb8618"
1046-
integrity sha512-lSEOjR9zi6vb1V9yhrby8jWt6SS+wWBXRa3sDE5GCbpcHMWHv41wZktB2WQyIXDqJQcw1lRZBDoYneibMqr2uQ==
1044+
"@tensorflow/tfjs-backend-webgl@^4.13.0":
1045+
version "4.21.0"
1046+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-4.21.0.tgz#30fba5a0c583d1fdb8b2e94a73b3080f5f7e524d"
1047+
integrity sha512-7k6mb7dd0uF9jI51iunF3rhEXjvR/a613kjWZ0Rj3o1COFrneyku2C7cRMZERWPhbgXZ+dF+j9MdpGIpgtShIQ==
10471048
dependencies:
1048-
"@tensorflow/tfjs-backend-cpu" "4.9.0"
1049+
"@tensorflow/tfjs-backend-cpu" "4.21.0"
10491050
"@types/offscreencanvas" "~2019.3.0"
10501051
"@types/seedrandom" "^2.4.28"
1051-
"@types/webgl-ext" "0.0.30"
10521052
seedrandom "^3.0.5"
10531053

1054-
"@tensorflow/tfjs-converter@^4.9.0":
1055-
version "4.9.0"
1056-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-4.9.0.tgz#7958f563043b3c54f757f47d2b5b08e963f466ad"
1057-
integrity sha512-mRlzdG3jVsxMkFfHFgDNY10HMoh+vtfPPIghtY+Fc4U/ZnBUFvSfZqwEFyXfOJAewn4fY4BX8+6RE4a0kRXqGA==
1054+
"@tensorflow/tfjs-converter@^4.13.0":
1055+
version "4.21.0"
1056+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-4.21.0.tgz#a4d9f36025c9128a57476818eb8bf0c9e2011628"
1057+
integrity sha512-cUhU+F1lGx2qnKk/gRy8odBh0PZlFz0Dl71TG8LVnj0/g352DqiNrKXlKO/po9aWzP8x0KUGC3gNMSMJW+T0DA==
10581058

1059-
"@tensorflow/tfjs-core@^4.9.0":
1060-
version "4.9.0"
1061-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-4.9.0.tgz#7df04d13df85dfb53762a5bb654bfcc24fb34de1"
1062-
integrity sha512-1nYs9OA934eSI33eTvyCVJUEji2wnMXyZ3VK7l2iS/TPDFISI3ETyh286mW56LCihoniv8HH2MtOAQwo4Qhrdg==
1059+
"@tensorflow/tfjs-core@^4.13.0":
1060+
version "4.21.0"
1061+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-4.21.0.tgz#5f12bd67badf28d65b628bb7c4968dae716a8fba"
1062+
integrity sha512-ZbECwXps5wb9XXcGq4ZXvZDVjr5okc3I0+i/vU6bpQ+nVApyIrMiyEudP8f6vracVTvNmnlN62vUXoEsQb2F8g==
10631063
dependencies:
10641064
"@types/long" "^4.0.1"
10651065
"@types/offscreencanvas" "~2019.7.0"
10661066
"@types/seedrandom" "^2.4.28"
1067-
"@types/webgl-ext" "0.0.30"
1068-
"@webgpu/types" "0.1.30"
1067+
"@webgpu/types" "0.1.38"
10691068
long "4.0.0"
10701069
node-fetch "~2.6.1"
10711070
seedrandom "^3.0.5"
@@ -1100,15 +1099,10 @@
11001099
resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.30.tgz#d2efe425869b84163c2d56e779dddadb9372cbfa"
11011100
integrity sha512-AnxLHewubLVzoF/A4qdxBGHCKifw8cY32iro3DQX9TPcetE95zBeVt3jnsvtvAUf1vwzMfwzp4t/L2yqPlnjkQ==
11021101

1103-
1104-
version "0.0.30"
1105-
resolved "https://registry.yarnpkg.com/@types/webgl-ext/-/webgl-ext-0.0.30.tgz#0ce498c16a41a23d15289e0b844d945b25f0fb9d"
1106-
integrity sha512-LKVgNmBxN0BbljJrVUwkxwRYqzsAEPcZOe6S2T6ZaBDIrFp0qu4FNlpc5sM1tGbXUYFgdVQIoeLk1Y1UoblyEg==
1107-
1108-
1109-
version "0.1.30"
1110-
resolved "https://registry.yarnpkg.com/@webgpu/types/-/types-0.1.30.tgz#b6406dc4a1c1e0d469028ceb30ddffbbd2fa706c"
1111-
integrity sha512-9AXJSmL3MzY8ZL//JjudA//q+2kBRGhLBFpkdGksWIuxrMy81nFrCzj2Am+mbh8WoU6rXmv7cY5E3rdlyru2Qg==
1102+
1103+
version "0.1.38"
1104+
resolved "https://registry.yarnpkg.com/@webgpu/types/-/types-0.1.38.tgz#6fda4b410edc753d3213c648320ebcf319669020"
1105+
integrity sha512-7LrhVKz2PRh+DD7+S+PVaFd5HxaWQvoMqBbsV9fNJO1pjUs1P8bM2vQVNfk+3URTqbuTI7gkXi0rfsN0IadoBA==
11121106

11131107
abab@^2.0.0:
11141108
version "2.0.5"
@@ -6373,6 +6367,11 @@ tr46@~0.0.3:
63736367
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
63746368
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
63756369

6370+
6371+
version "2.4.0"
6372+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
6373+
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
6374+
63766375
63776376
version "0.0.0"
63786377
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"

face-landmarks-detection/demos/upload_video/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@mediapipe/face_mesh": "~0.4.0",
13-
"@tensorflow-models/face-detection": "~1.0.0",
13+
"@tensorflow-models/face-detection": "^1.0.3",
1414
"@tensorflow-models/face-landmarks-detection": "file:../../dist",
1515
"@tensorflow/tfjs-backend-wasm": "^4.13.0",
1616
"@tensorflow/tfjs-backend-webgl": "^4.13.0",

face-landmarks-detection/demos/upload_video/yarn.lock

+57-53
Original file line numberDiff line numberDiff line change
@@ -1014,61 +1014,60 @@
10141014
"@parcel/utils" "^1.11.0"
10151015
physical-cpu-count "^2.0.0"
10161016

1017-
"@tensorflow-models/face-detection@~1.0.0":
1018-
version "1.0.1"
1019-
resolved "https://registry.yarnpkg.com/@tensorflow-models/face-detection/-/face-detection-1.0.1.tgz#f0b68f5c8ebf38d588ae2c9c6eb7517e7faad2b5"
1020-
integrity sha512-oIEEqHy4qbkGn5xT1ldzwxK5s948+t7ts0+WoIfTPKwScpNa8YY4GJf+fpyhtOxUGGAZymXx25jrvF9YlAt9dg==
1017+
"@tensorflow-models/face-detection@^1.0.3":
1018+
version "1.0.3"
1019+
resolved "https://registry.yarnpkg.com/@tensorflow-models/face-detection/-/face-detection-1.0.3.tgz#e7fff464812703df0acba3748c12e4498e114ab3"
1020+
integrity sha512-4Ld/vFF8MrdFdrMWhlLKZD4hMW0PNY9OkYeqoCPNZ+LwFyenxAqVaNaWrR8JKp37vw9Nuzp4ILbkal5zPUnA0g==
10211021
dependencies:
10221022
rimraf "^3.0.2"
1023+
tslib "2.4.0"
10231024

10241025
"@tensorflow-models/face-landmarks-detection@file:../../dist":
10251026
version "0.0.0"
10261027

1027-
"@tensorflow/tfjs-backend-cpu@3.15.0":
1028-
version "3.15.0"
1029-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-3.15.0.tgz#f9aa5309f464c019d36cb42463813455d970f101"
1030-
integrity sha512-f+GREHSiVkVIpFAwkjB7YWcZefqQvCKQhrNjZzm1WX4VdnWlo0b1lTI+gPIIYNk4LEFMBNJbfqy/N1xNS/SOLQ==
1028+
"@tensorflow/tfjs-backend-cpu@4.21.0":
1029+
version "4.21.0"
1030+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-4.21.0.tgz#27a489f838b88aa98220da0aaf29f58d16fc9d05"
1031+
integrity sha512-yS9Oisg4L48N7ML6677ilv1eP5Jt59S74skSU1cCsM4yBAtH4DAn9b89/JtqBISh6JadanfX26b4HCWQvMvqFg==
10311032
dependencies:
1032-
"@types/seedrandom" "2.4.27"
1033-
seedrandom "2.4.3"
1033+
"@types/seedrandom" "^2.4.28"
1034+
seedrandom "^3.0.5"
10341035

1035-
"@tensorflow/tfjs-backend-wasm@^3.12.0":
1036-
version "3.15.0"
1037-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-3.15.0.tgz#9aca0bede4bde85872831c066de77701412aef77"
1038-
integrity sha512-Oohpk0hOvMPabBqe3NyTS7/oZy2dcsALMGlsaz7t5bJNxEVOambHsrcEtD5qbmQcuVBITArutF2myO8cV1QeHA==
1036+
"@tensorflow/tfjs-backend-wasm@^4.13.0":
1037+
version "4.21.0"
1038+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-4.21.0.tgz#746cca38a82beea926dc0d72e1c2f6e06401995e"
1039+
integrity sha512-/UbdKr/uZDuAt/vBS/QnOT5+esV4B9B4nHOQN5PaF6SUr8p099KHROh6BBnB7fhC7kFb51Pbrf9cc4nu9ZsMoQ==
10391040
dependencies:
1040-
"@tensorflow/tfjs-backend-cpu" "3.15.0"
1041+
"@tensorflow/tfjs-backend-cpu" "4.21.0"
10411042
"@types/emscripten" "~0.0.34"
10421043

1043-
"@tensorflow/tfjs-backend-webgl@^3.12.0":
1044-
version "3.15.0"
1045-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-3.15.0.tgz#5a1a302700003955aa3e10aabbdee08c28729cf6"
1046-
integrity sha512-QOxbTABFbP+m+UmCVB8VQlmZbsXiJOP8QRkRRZHhGWNKjtT3eWi+ROS1tbloS7/Q20SEmNZXCvcsjv0TBgFQPw==
1044+
"@tensorflow/tfjs-backend-webgl@^4.13.0":
1045+
version "4.21.0"
1046+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-4.21.0.tgz#30fba5a0c583d1fdb8b2e94a73b3080f5f7e524d"
1047+
integrity sha512-7k6mb7dd0uF9jI51iunF3rhEXjvR/a613kjWZ0Rj3o1COFrneyku2C7cRMZERWPhbgXZ+dF+j9MdpGIpgtShIQ==
10471048
dependencies:
1048-
"@tensorflow/tfjs-backend-cpu" "3.15.0"
1049+
"@tensorflow/tfjs-backend-cpu" "4.21.0"
10491050
"@types/offscreencanvas" "~2019.3.0"
1050-
"@types/seedrandom" "2.4.27"
1051-
"@types/webgl-ext" "0.0.30"
1052-
"@types/webgl2" "0.0.6"
1053-
seedrandom "2.4.3"
1051+
"@types/seedrandom" "^2.4.28"
1052+
seedrandom "^3.0.5"
10541053

1055-
"@tensorflow/tfjs-converter@^3.12.0":
1056-
version "3.15.0"
1057-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-3.15.0.tgz#7346932800fc6f8509dbd468504d617cec5aa282"
1058-
integrity sha512-FBk3qGvNfS1xCw+ZLXCiD72vpR/rZaShFOY7HmLtTTfWlebWowrjaNqjvO8SKc7UGtRR/GJ7Bf3TgKyr9D3g0Q==
1054+
"@tensorflow/tfjs-converter@^4.13.0":
1055+
version "4.21.0"
1056+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-4.21.0.tgz#a4d9f36025c9128a57476818eb8bf0c9e2011628"
1057+
integrity sha512-cUhU+F1lGx2qnKk/gRy8odBh0PZlFz0Dl71TG8LVnj0/g352DqiNrKXlKO/po9aWzP8x0KUGC3gNMSMJW+T0DA==
10591058

1060-
"@tensorflow/tfjs-core@^3.12.0":
1061-
version "3.15.0"
1062-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-3.15.0.tgz#1fc676be2aa591cd48a2dd8301a41bc1bf0f9b14"
1063-
integrity sha512-X1XGr8rewm/n0RDMnaLRcRYsTHlQCqQUR5DCtjUf4TuII7kq/pkZ9xCKPPfS1qUd5jLy663h8j5cAyjJNUt/hw==
1059+
"@tensorflow/tfjs-core@^4.13.0":
1060+
version "4.21.0"
1061+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-4.21.0.tgz#5f12bd67badf28d65b628bb7c4968dae716a8fba"
1062+
integrity sha512-ZbECwXps5wb9XXcGq4ZXvZDVjr5okc3I0+i/vU6bpQ+nVApyIrMiyEudP8f6vracVTvNmnlN62vUXoEsQb2F8g==
10641063
dependencies:
10651064
"@types/long" "^4.0.1"
1066-
"@types/offscreencanvas" "~2019.3.0"
1067-
"@types/seedrandom" "2.4.27"
1068-
"@types/webgl-ext" "0.0.30"
1065+
"@types/offscreencanvas" "~2019.7.0"
1066+
"@types/seedrandom" "^2.4.28"
1067+
"@webgpu/types" "0.1.38"
10691068
long "4.0.0"
10701069
node-fetch "~2.6.1"
1071-
seedrandom "2.4.3"
1070+
seedrandom "^3.0.5"
10721071

10731072
"@types/emscripten@~0.0.34":
10741073
version "0.0.34"
@@ -1085,25 +1084,25 @@
10851084
resolved "https://registry.yarnpkg.com/@types/offscreencanvas/-/offscreencanvas-2019.3.0.tgz#3336428ec7e9180cf4566dfea5da04eb586a6553"
10861085
integrity sha512-esIJx9bQg+QYF0ra8GnvfianIY8qWB0GBx54PK5Eps6m+xTj86KLavHv6qDhzKcu5UUOgNfJ2pWaIIV7TRUd9Q==
10871086

1087+
"@types/offscreencanvas@~2019.7.0":
1088+
version "2019.7.3"
1089+
resolved "https://registry.yarnpkg.com/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz#90267db13f64d6e9ccb5ae3eac92786a7c77a516"
1090+
integrity sha512-ieXiYmgSRXUDeOntE1InxjWyvEelZGP63M+cGuquuRLuIKKT1osnkXjxev9B7d1nXSug5vpunx+gNlbVxMlC9A==
1091+
10881092
"@types/q@^1.5.1":
10891093
version "1.5.5"
10901094
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.5.tgz#75a2a8e7d8ab4b230414505d92335d1dcb53a6df"
10911095
integrity sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==
10921096

1093-
"@types/[email protected].27":
1094-
version "2.4.27"
1095-
resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.27.tgz#9db563937dd86915f69092bc43259d2f48578e41"
1096-
integrity sha1-nbVjk33YaRX2kJK8QyWdL0hXjkE=
1097+
"@types/seedrandom@^2.4.28":
1098+
version "2.4.34"
1099+
resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.34.tgz#c725cd0fc0442e2d3d0e5913af005686ffb7eb99"
1100+
integrity sha512-ytDiArvrn/3Xk6/vtylys5tlY6eo7Ane0hvcx++TKo6RxQXuVfW0AF/oeWqAj9dN29SyhtawuXstgmPlwNcv/A==
10971101

1098-
1099-
version "0.0.30"
1100-
resolved "https://registry.yarnpkg.com/@types/webgl-ext/-/webgl-ext-0.0.30.tgz#0ce498c16a41a23d15289e0b844d945b25f0fb9d"
1101-
integrity sha512-LKVgNmBxN0BbljJrVUwkxwRYqzsAEPcZOe6S2T6ZaBDIrFp0qu4FNlpc5sM1tGbXUYFgdVQIoeLk1Y1UoblyEg==
1102-
1103-
1104-
version "0.0.6"
1105-
resolved "https://registry.yarnpkg.com/@types/webgl2/-/webgl2-0.0.6.tgz#1ea2db791362bd8521548d664dbd3c5311cdf4b6"
1106-
integrity sha512-50GQhDVTq/herLMiqSQkdtRu+d5q/cWHn4VvKJtrj4DJAjo1MNkWYa2MA41BaBO1q1HgsUjuQvEOk0QHvlnAaQ==
1102+
1103+
version "0.1.38"
1104+
resolved "https://registry.yarnpkg.com/@webgpu/types/-/types-0.1.38.tgz#6fda4b410edc753d3213c648320ebcf319669020"
1105+
integrity sha512-7LrhVKz2PRh+DD7+S+PVaFd5HxaWQvoMqBbsV9fNJO1pjUs1P8bM2vQVNfk+3URTqbuTI7gkXi0rfsN0IadoBA==
11071106

11081107
abab@^2.0.0:
11091108
version "2.0.5"
@@ -5772,10 +5771,10 @@ saxes@^3.1.9:
57725771
dependencies:
57735772
xmlchars "^2.1.1"
57745773

5775-
seedrandom@2.4.3:
5776-
version "2.4.3"
5777-
resolved "https://registry.yarnpkg.com/seedrandom/-/seedrandom-2.4.3.tgz#2438504dad33917314bff18ac4d794f16d6aaecc"
5778-
integrity sha1-JDhQTa0zkXMUv/GKxNeU8W1qrsw=
5774+
seedrandom@^3.0.5:
5775+
version "3.0.5"
5776+
resolved "https://registry.yarnpkg.com/seedrandom/-/seedrandom-3.0.5.tgz#54edc85c95222525b0c7a6f6b3543d8e0b3aa0a7"
5777+
integrity sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==
57795778

57805779
57815780
version "7.0.0"
@@ -6356,6 +6355,11 @@ tr46@~0.0.3:
63566355
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
63576356
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
63586357

6358+
6359+
version "2.4.0"
6360+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
6361+
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
6362+
63596363
63606364
version "0.0.0"
63616365
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"

face-landmarks-detection/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tensorflow-models/face-landmarks-detection",
3-
"version": "1.0.3",
3+
"version": "1.0.6",
44
"description": "Pretrained face landmarks detection model",
55
"main": "dist/index.js",
66
"jsnext:main": "dist/face-landmarks-detection.esm.js",
@@ -14,10 +14,10 @@
1414
},
1515
"peerDependencies": {
1616
"@mediapipe/face_mesh": "~0.4.0",
17+
"@tensorflow-models/face-detection": "^1.0.3",
1718
"@tensorflow/tfjs-backend-webgl": "^4.13.0",
1819
"@tensorflow/tfjs-converter": "^4.13.0",
19-
"@tensorflow/tfjs-core": "^4.13.0",
20-
"@tensorflow-models/face-detection": "~1.0.0"
20+
"@tensorflow/tfjs-core": "^4.13.0"
2121
},
2222
"devDependencies": {
2323
"@babel/polyfill": "^7.10.4",
@@ -26,11 +26,11 @@
2626
"@rollup/plugin-commonjs": "^21.0.2",
2727
"@rollup/plugin-node-resolve": "^7.1.1",
2828
"@rollup/plugin-typescript": "^3.0.0",
29+
"@tensorflow-models/face-detection": "^1.0.3",
2930
"@tensorflow/tfjs-backend-cpu": "^4.13.0",
3031
"@tensorflow/tfjs-backend-webgl": "^4.13.0",
3132
"@tensorflow/tfjs-converter": "^4.13.0",
3233
"@tensorflow/tfjs-core": "^4.13.0",
33-
"@tensorflow-models/face-detection": "^1.0.0",
3434
"@types/jasmine": "~2.8.8",
3535
"babel-core": "~6.26.0",
3636
"babel-plugin-transform-runtime": "~6.23.0",

0 commit comments

Comments
 (0)