[英]FaceDetector 's detect method not detecting faces in Chrome
I'm working with the experimental FaceDetector API in Chrome (Version 86.0.4240.111 (Official Build) (x86_64)) on Mac OS (Catalina v10.15.x).我正在 Mac OS (Catalina v10.15.x) 上使用 Chrome(版本 86.0.4240.111(官方构建)(x86_64))中的实验性 FaceDetector API。 I have enabled Experimental Web Platform Features under chrome://flags
我在 chrome://flags 下启用了实验性 Web 平台功能
Eg link: https://github.com/neil-coutinho/face-detection-censorship例如链接: https : //github.com/neil-coutinho/face-detection-censorship
Issue:问题:
Trying to use the detect() method to detect a face from a static image and a video (webcam), In both instances getting back an undefined as the result of detect()尝试使用 detect() 方法从静态图像和视频(网络摄像头)中检测人脸,在这两种情况下,detect() 都会返回 undefined
Any help would be appreciated.任何帮助,将不胜感激。
const faceDetector = new FaceDetector({ fastMode: true });
需要传入fastMode选项!!!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.