@biopassid/face-sdk
Advanced tools
Comparing version 1.3.6 to 1.3.7
{ | ||
"name": "@biopassid/face-sdk", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -114,4 +114,11 @@ | ||
First create a folder called models in your application's static files directory, and add tiny_face_detector_model-shard1 and tiny_face_detector_model-weights_manifest.json files. Your folder structure will look like this: | ||
First create a folder called models in your application's static files directory. Donwload and add this two files | ||
[tiny_face_detector_model-shard1](https://unpkg.com/browse/@biopassid/face-sdk@1.3.6/models/tiny_face_detector_model-shard1.shard) | ||
[tiny_face_detector_model-weights_manifest](https://unpkg.com/browse/@biopassid/face-sdk@1.3.6/models/tiny_face_detector_model-weights_manifest.json) | ||
Your folder structure will look like this: | ||
```bash | ||
@@ -174,3 +181,3 @@ /assets | ||
const resp = await takePicture({ | ||
element: document.querySelector("#camera"), | ||
element: document.querySelector("#elementId"), | ||
}) | ||
@@ -394,3 +401,3 @@ } | ||
## 1.3.0 | ||
## 1.3.6 | ||
@@ -402,3 +409,3 @@ ### Breaking Changes | ||
<!-- After --> | ||
<script src="https://cdn.jsdelivr.net/npm/@biopassid/face-sdk/unpkg/face-sdk.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@biopassid/face-sdk/face-sdk.min.js"></script> | ||
<script> | ||
@@ -409,3 +416,3 @@ const { takePicture } = faceSdk.camera(); | ||
<!-- Before --> | ||
<script src="https://cdn.jsdelivr.net/npm/@biopassid/face-sdk/unpkg/face-sdk.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@biopassid/face-sdk/face-sdk.min.js"></script> | ||
<script> | ||
@@ -412,0 +419,0 @@ const { takePicture } = camera(); |
1033655
418