WeChat-MiniProgram-AR-TFJS:使用TensorFlow.js(TFJS)的WeChat MiniProgram Face AR和人脸标志检测

上传者: 42165712 | 上传时间: 2022-07-29 10:39:21 | 文件大小: 3.59MB | 文件类型: ZIP
更新 日期 更新 2021-03-13 错误修正:1.脸部二维面具的图像未显示在android微信上。 2.第二次进入演示UI时,不显示3D模型。 2021-03-11 新增:使用“面部标志检测”和“ TensorFlow.js”的面部AR。 更新:将“ face-api.js”替换为“ face-landmarks-detection”,删除了“ face-api.js”的代码。 2019-09-07 新增:使用“ face-api.js”进行人脸检测和识别。 带有TFJS的微信小程序AR的介绍 TensorFlow.js是一个用于使用JavaScript进行机器学习的库。 TensorFlow.js有一个微信小程序插件。 我们可以使用TensorFlow.js创建AR效果。 “人脸地标检测”库基于TensorFlow.js。 “人脸地标检测”库在浏览器环境中提供人脸检测。

文件下载

资源详情

[{"title":"( 79 个子文件 3.59MB ) WeChat-MiniProgram-AR-TFJS:使用TensorFlow.js(TFJS)的WeChat MiniProgram Face AR和人脸标志检测","children":[{"title":"WeChat-MiniProgram-AR-TFJS-master","children":[{"title":"screenshot","children":[{"title":"4-3.jpg <span style='color:#111;'> 30.90KB </span>","children":null,"spread":false},{"title":"1.jpg <span style='color:#111;'> 32.17KB </span>","children":null,"spread":false},{"title":"4-1.jpg <span style='color:#111;'> 29.15KB </span>","children":null,"spread":false},{"title":"4-2.jpg <span style='color:#111;'> 25.15KB </span>","children":null,"spread":false},{"title":"3-2.jpg <span style='color:#111;'> 23.64KB </span>","children":null,"spread":false},{"title":"3-1.jpg <span style='color:#111;'> 28.74KB </span>","children":null,"spread":false},{"title":"3-3.jpg <span style='color:#111;'> 30.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"style","children":[{"title":"weui.wxss <span style='color:#111;'> 18.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"facemesh_v1","children":[{"title":"model.json <span style='color:#111;'> 90.85KB </span>","children":null,"spread":false},{"title":"group1-shard1of1.bin <span style='color:#111;'> 2.82MB </span>","children":null,"spread":false}],"spread":true},{"title":"sunglass.glb <span style='color:#111;'> 18.89KB </span>","children":null,"spread":false},{"title":"blazeface_v1","children":[{"title":"model.json <span style='color:#111;'> 62.54KB </span>","children":null,"spread":false},{"title":"group1-shard1of1.bin <span style='color:#111;'> 392.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"package_face_2d_mask","children":[{"title":"pages","children":[{"title":"photo","children":[{"title":"photo.wxml <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"photo.wxss <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"photo.json <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"photo.js <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"camera","children":[{"title":"camera.wxss <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"camera.js <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"camera.json <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"camera.wxml <span style='color:#111;'> 514B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"utils","children":[{"title":"cat_beard.png <span style='color:#111;'> 9.27KB </span>","children":null,"spread":false},{"title":"faceBusiness.js <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"modelBusiness.js <span style='color:#111;'> 5.72KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app.json <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"package_face_3d_mask","children":[{"title":"pages","children":[{"title":"photo","children":[{"title":"photo.wxml <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"photo.wxss <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"photo.json <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"photo.js <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"camera","children":[{"title":"camera.wxss <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"camera.js <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"camera.json <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"camera.wxml <span style='color:#111;'> 514B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"utils","children":[{"title":"faceBusiness.js <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"modelBusiness.js <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"GLTFLoader.js <span style='color:#111;'> 94.43KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 7.75KB </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"index","children":[{"title":"index.js <span style='color:#111;'> 10B </span>","children":null,"spread":false},{"title":"index.json <span style='color:#111;'> 27B </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"index.wxml <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"plugin","children":[{"title":"config.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"model_artifacts.js <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"local_storage.js <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"wechat_platform.js <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"file_storage.js <span style='color:#111;'> 7.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"sitemap.json <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"app.wxss <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"project.config.json <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"miniprogram_npm","children":[{"title":"@tensorflow-models","children":[{"title":"face-landmarks-detection","children":[{"title":"index.js <span style='color:#111;'> 80.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"blazeface","children":[{"title":"index.js <span style='color:#111;'> 28.78KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"minimatch","children":[{"title":"index.js <span style='color:#111;'> 26.17KB </span>","children":null,"spread":false}],"spread":false},{"title":"path-is-absolute","children":[{"title":"index.js <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"brace-expansion","children":[{"title":"index.js <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"wrappy","children":[{"title":"index.js <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false}],"spread":false},{"title":"@tensorflow","children":[{"title":"tfjs-core","children":[{"title":"index.js <span style='color:#111;'> 286.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"tfjs-backend-webgl","children":[{"title":"index.js <span style='color:#111;'> 239.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"tfjs-backend-cpu","children":[{"title":"index.js <span style='color:#111;'> 62.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"tfjs-converter","children":[{"title":"index.js <span style='color:#111;'> 104.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"seedrandom","children":[{"title":"index.js <span style='color:#111;'> 28.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"base64-js","children":[{"title":"index.js <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"concat-map","children":[{"title":"index.js <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":false},{"title":"abab","children":[{"title":"index.js <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"fs.realpath","children":[{"title":"index.js <span style='color:#111;'> 11.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"rimraf","children":[{"title":"index.js <span style='color:#111;'> 10.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"balanced-match","children":[{"title":"index.js <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"inflight","children":[{"title":"index.js <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false}],"spread":false},{"title":"text-encoder","children":[{"title":"index.js <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"threejs-miniprogram","children":[{"title":"index.js <span style='color:#111;'> 580.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"once","children":[{"title":"index.js <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":false},{"title":"inherits","children":[{"title":"index.js <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"glob","children":[{"title":"index.js <span style='color:#111;'> 38.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"node-fetch","children":[{"title":"index.js <span style='color:#111;'> 38.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"fetch-wechat","children":[{"title":"index.js <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明