We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0899d4f commit 4c596f4Copy full SHA for 4c596f4
README.md
@@ -408,11 +408,11 @@ You can also create labeled reference descriptors as follows:
408
``` javascript
409
const labeledDescriptors = [
410
new faceapi.LabeledFaceDescriptors(
411
- 'obama'
+ 'obama',
412
[descriptorObama1, descriptorObama2]
413
),
414
415
- 'trump'
+ 'trump',
416
[descriptorTrump]
417
)
418
]
@@ -700,4 +700,4 @@ async function uploadImage() {
700
701
const canvas1 = faceapi.createCanvasFromMedia(document.getElementById('myImg'))
702
const canvas2 = faceapi.createCanvasFromMedia(document.getElementById('myVideo'))
703
-```
+```
0 commit comments