update for tfjs 3.5.0

pull/54/head
Vladimir Mandic 2021-04-22 19:49:56 -04:00
parent 33fc169fa6
commit 5c13f14b05
13 changed files with 2672 additions and 1794 deletions

View File

@ -1,6 +1,6 @@
# @vladmandic/face-api
Version: **1.1.12**
Version: **1.2.0**
Description: **FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS**
Author: **Vladimir Mandic <mandic00@live.com>**
@ -9,6 +9,10 @@ Repository: **<git+https://github.com/vladmandic/face-api.git>**
## Changelog
### **HEAD -> master** 2021/04/20 mandic00@live.com
- add canvas/image based demo to decode webp
### **1.1.12** 2021/04/13 mandic00@live.com

View File

@ -403,7 +403,7 @@ Build process uses script `build.js` that creates optimized build for each targe
This is updated **face-api.js** with latest available TensorFlow/JS as the original is not compatible with **tfjs 2.0+**.
Forked from [face-api.js](https://github.com/justadudewhohacks/face-api.js) version **0.22.2** which was released on March 22nd, 2020
Currently based on **`TensorFlow/JS` 3.3.0**
Currently based on **`TensorFlow/JS` 3.5.0**
*Why?* I needed FaceAPI that does not cause version conflict with newer versions of TensorFlow
And since original FaceAPI was open-source, I've released this version as well

View File

@ -2080,7 +2080,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) {
}
// package.json
var version = "1.1.12";
var version = "1.2.0";
// src/xception/extractParams.ts
function extractorsFactory2(extractWeights, paramMappings) {

630
dist/face-api.esm.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

630
dist/face-api.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -2262,7 +2262,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) {
}
// package.json
var version = "1.1.12";
var version = "1.2.0";
// src/ageGenderNet/AgeGenderNet.ts
var tf20 = __toModule(require_tfjs_esm());

View File

@ -2262,7 +2262,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) {
}
// package.json
var version = "1.1.12";
var version = "1.2.0";
// src/ageGenderNet/AgeGenderNet.ts
var tf20 = __toModule(require_tfjs_esm());

View File

@ -2262,7 +2262,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) {
}
// package.json
var version = "1.1.12";
var version = "1.2.0";
// src/ageGenderNet/AgeGenderNet.ts
var tf20 = __toModule(require_tfjs_esm());

3160
dist/tfjs.esm.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "@vladmandic/face-api",
"version": "1.1.12",
"version": "1.2.0",
"description": "FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS",
"sideEffects": false,
"main": "dist/face-api.node.js",
@ -42,10 +42,10 @@
],
"devDependencies": {
"@canvas/image": "^1.0.1",
"@tensorflow/tfjs": "^3.4.0",
"@tensorflow/tfjs-backend-wasm": "^3.4.0",
"@tensorflow/tfjs-node": "^3.4.0",
"@tensorflow/tfjs-node-gpu": "^3.4.0",
"@tensorflow/tfjs": "^3.5.0",
"@tensorflow/tfjs-backend-wasm": "^3.5.0",
"@tensorflow/tfjs-node": "^3.5.0",
"@tensorflow/tfjs-node-gpu": "^3.5.0",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
@ -53,7 +53,7 @@
"canvas": "^2.7.0",
"chokidar": "^3.5.1",
"dayjs": "^1.10.4",
"esbuild": "^0.11.11",
"esbuild": "^0.11.12",
"eslint": "^7.24.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",