Skip to content

Commit 744d14b

Browse files
authored
Update comment to reflect objectDetector usage
1 parent b25cd89 commit 744d14b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/objectDetection-image/sketch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Learn more about the ml5.js project: https://ml5js.org/
44
* ml5.js license and Code of Conduct: https://github.com/ml5js/ml5-next-gen/blob/main/LICENSE.md
55
*
6-
* This example demonstrates detecting objects in a live video through ml5.imageClassifier.
6+
* This example demonstrates detecting objects in a live video through ml5.objectDetector.
77
*/
88

99
let img;
@@ -41,4 +41,4 @@ function gotDetections(results) {
4141
textSize(24);
4242
text(detection.label, detection.x + 10, detection.y + 24);
4343
}
44-
}
44+
}

0 commit comments

Comments
 (0)