@tn3w/openage 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <p align="center"><img src="https://github.com/tn3w/OpenAge/releases/download/img/openage.webp" alt="OpenAge - Privacy-first age verification for the web"></p>
1
+ <p align="center"><a href="https://tn3w.github.io/OpenAge/"><img src="https://github.com/tn3w/OpenAge/releases/download/img/openage.webp" alt="OpenAge - Privacy-first age verification for the web"></a></p>
2
2
 
3
3
  <h3 align="center">Privacy-first age verification for the web</h3>
4
4
  <p align="center">
@@ -8,9 +8,9 @@ button binding.
8
8
  </p>
9
9
 
10
10
  <p align="center">
11
- <img src="https://img.shields.io/npm/v/%40tn3w%2Fopenage?label=npm" alt="Version">
12
- <img src="https://img.shields.io/npm/dm/%40tn3w%2Fopenage" alt="Downloads">
13
- <img src="https://img.shields.io/npm/l/%40tn3w%2Fopenage" alt="License">
11
+ <a href="https://www.npmjs.com/package/@tn3w/openage"><img src="https://img.shields.io/npm/v/%40tn3w%2Fopenage?label=npm" alt="Version"></a>
12
+ <a href="https://www.npmjs.com/package/@tn3w/openage"><img src="https://img.shields.io/npm/dm/%40tn3w%2Fopenage" alt="Downloads"></a>
13
+ <a href="https://www.npmjs.com/package/@tn3w/openage"><img src="https://img.shields.io/npm/l/%40tn3w%2Fopenage" alt="License"></a>
14
14
  <a href="https://tn3w.github.io/OpenAge/"><img src="https://img.shields.io/badge/demo-github%20pages-black" alt="Demo"></a>
15
15
  </p>
16
16
 
@@ -1048,13 +1048,14 @@ const MEDIAPIPE_VISION = `${MEDIAPIPE_CDN}/vision_bundle.mjs`;
1048
1048
 
1049
1049
  const MEDIAPIPE_MODEL =
1050
1050
  'https://storage.googleapis.com/mediapipe-models/' +
1051
- 'face_landmarker/face_landmarker/float16/latest/' +
1051
+ 'face_landmarker/face_landmarker/float16/1/' +
1052
1052
  'face_landmarker.task';
1053
1053
 
1054
1054
  const FACEAPI_CDN =
1055
1055
  'https://cdn.jsdelivr.net/npm/' + 'face-api.js@0.22.2/dist/face-api.min.js';
1056
1056
 
1057
- const FACEAPI_MODEL_CDN = 'https://cdn.jsdelivr.net/npm/' + 'face-api.js@0.22.2/weights';
1057
+ const FACEAPI_MODEL_CDN =
1058
+ 'https://cdn.jsdelivr.net/gh/' + 'justadudewhohacks/face-api.js@master/weights';
1058
1059
 
1059
1060
  const MAX_RETRIES = 3;
1060
1061
  const BURST_FRAMES = 5;