uniapp实现人脸识别
时间: 2023-09-13 22:11:05 浏览: 257
uni-app可以通过使用livePusher对象和plus.zip.compressImage方法来实现人脸识别功能。首先,使用livePusher对象实现视频预览和截屏功能,通过打开摄像头并使用camera组件进行操作。然后,使用plus.zip.compressImage方法对截取的图片进行压缩,并将压缩后的图片上传至服务器进行人脸识别。这样就可以实现uni-app中的人脸识别功能。\[2\]\[3\]
#### 引用[.reference_title]
- *1* *2* [uni-app 人脸识别分析及实现(前端) + nvue开发源码](https://blog.csdn.net/weixin_43236062/article/details/109065450)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [uni-app app端实现刷脸功能](https://blog.csdn.net/qq_31403519/article/details/106780327)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文