一款可以在浏览器中运行的人脸识别库
介绍一款人脸识别库 face-api.js# 描述 在浏览器或者nodejs环境中用tensorflow.js实现的人脸探测和识别的js接口JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js # 特点 人脸识别(Face Recognition)...
·
介绍一款人脸识别库
# 描述
在浏览器或者nodejs环境中用tensorflow.js实现的人脸探测和识别的js接口
JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
# 特点
- 人脸识别(Face Recognition)
- 人脸特征检测(Face Landmark Detection)
- 面部表情检测(Face Expression Recognition)
- 年龄测定(Age Estimation)
- 性别检测(Gender Recognition)
# demo address
# 食用方法
# 克隆仓库
git clone https://github.com/justadudewhohacks/face-api.js.git
# 运行浏览器示例
cd face-api.js/examples/examples-browser
npm i
npm start
# 运行Nodejs示例
cd face-api.js/examples/examples-nodejs
npm i
- 利用ts-node运行例子
ts-node faceDetection.ts
- node编译运行
tsc faceDetection.ts
node faceDetection.js
# 直接在页面中引用js脚本

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐
所有评论(0)