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.
2 parents 0899d4f + 4c596f4 commit 387a03bCopy full SHA for 387a03b
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