face detection
方案 | 简介 | 使用方式 | 风险 | 项目 |
---|---|---|---|---|
https://developer.android.com/reference/android/media/FaceDetector | Android自带sdk,通过输入Bitmap参数,返回检测的人脸集合 | SDK自带,逻辑需要自己控制 | cpu肉眼可见比较高 | https://github.com/betri28/FaceDetectCamera.git |
OpenCV for Android | OpenCV 是一个的跨平台计算机视觉库,可以运行在 Linux、Windows 和 Mac OS 操作系统上。它轻量级而且高效——由一系列 C 函数和少量 C++ 类构成,同时也提供了 Python 接口,实现了图像处理和计算机视觉方面的很多通用算法。在本文中,将介绍 OpenCV 库,包括它的主要模块和典型应用场景。 | https://github.com/SOFTPOWER1991/OpenCVCheck/tree/master | 需要单独引入JNI包进行调用,另外CPU的使用率相对较高 | https://github.com/laksh0798/FaceApp |
https://developers.google.com/ml-kit/guides - https://developers.google.com/ml-kit | 官网说明:面向移动开发者的机器学习技术,能够离线运行。 | https://medium.com/gravel-engineering/google-mlkit-quick-and-easy-face-detection-in-android-db991a742ec2 | 需要看使用的服务是否需要安装的设备支持Google play服务。 | https://github.com/happysingh23828/CameraX-FaceDetection-MlKit |
camera round | https://github.com/developer-anees/android-round-camera2video-preview.git | |||
FaceVerificationSDK | 动效可以参考,制作比较精美 | https://github.com/AnyLifeZLB/FaceVerificationSDK |
上次更新: 2025/03/09, 15:45:50