https://github.com/fluttify-project/baidu_face_flutter
百度 人脸识别 Flutter插件
https://github.com/fluttify-project/baidu_face_flutter
Last synced: 3 months ago
JSON representation
百度 人脸识别 Flutter插件
- Host: GitHub
- URL: https://github.com/fluttify-project/baidu_face_flutter
- Owner: fluttify-project
- Created: 2020-07-06T11:54:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T03:31:46.000Z (over 5 years ago)
- Last Synced: 2025-07-19T02:10:43.698Z (11 months ago)
- Size: 10.7 KB
- Stars: 6
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# 百度 人脸识别 Flutter插件
[](https://pub.Flutter-io.cn/packages/baidu_face_flutter)
**专业版为付费插件, 如有需要请联系qq 382146139**
**专业版为付费插件, 如有需要请联系qq 382146139**
**专业版为付费插件, 如有需要请联系qq 382146139**
# Fluttify系列插件
| 名称 | 描述 | 仓库 |
|:-----:|:-----:|:-----:|
| [高德地图](https://github.com/fluttify-project/amap_map_fluttify) | 高德地图地图组件, 提供地图控件 | [](https://pub.Flutter-io.cn/packages/amap_map_fluttify) |
| [高德定位](https://github.com/fluttify-project/amap_location_fluttify) | 高德地图定位组件, 提供独立的定位功能 | [](https://pub.Flutter-io.cn/packages/amap_location_fluttify) |
| [高德搜索](https://github.com/fluttify-project/amap_search_fluttify) | 高德地图搜索组件, 提供poi搜索等功能 | [](https://pub.Flutter-io.cn/packages/amap_search_fluttify) |
| [百度地图](https://github.com/fluttify-project/bmap_map_fluttify) | 百度地图, 包含了地图控件, 定位以及搜索poi等功能 | [](https://pub.Flutter-io.cn/packages/bmap_map_fluttify) |
| [百度人脸识别](https://github.com/fluttify-project/baidu_face_flutter) | 百度人脸识别, 提供活体检测等功能 | [](https://pub.Flutter-io.cn/packages/baidu_face_flutter) |
| [网易直播](https://github.com/fluttify-project/netease_live_fluttify) | 网易直播推流组件 | [](https://pub.Flutter-io.cn/packages/netease_live_fluttify) |
| [网易云信](https://github.com/fluttify-project/nim_fluttify) | 网易云信 IM组件 | [](https://pub.Flutter-io.cn/packages/nim_fluttify) |
| [腾讯直播](https://github.com/fluttify-project/tencent_live_fluttify) | 腾讯直播, 包含推流组件和播放组件 | [](https://pub.Flutter-io.cn/packages/tencent_live_fluttify) |
| [腾讯IM](https://github.com/fluttify-project/tim_fluttify) | 腾讯IM组件 | [](https://pub.Flutter-io.cn/packages/tim_fluttify) |
| [腾讯地图](https://github.com/fluttify-project/tmap_map_fluttify) | 腾讯地图组件 | [](https://pub.Flutter-io.cn/packages/tmap_map_fluttify) |
| [讯飞语音合成](https://github.com/fluttify-project/xftts_fluttify) | 腾讯语言合成组件, 提供文字转语言功能 | [](https://pub.flutter-io.cn/packages/xftts_fluttify) |
| [极光统计](https://github.com/fluttify-project/janalytics_fluttify) | 极光统计组件, 提供异常上报等功能 | [](https://pub.flutter-io.cn/packages/janalytics_fluttify) |
| [阿里云RTC](https://github.com/fluttify-project/ali_rtc_fluttify) | 阿里云实时音视频 | [](https://pub.flutter-io.cn/packages/ali_rtc_fluttify) |
| [环信](https://github.com/fluttify-project/easemob_im_fluttify) | 环信IM | [](https://pub.flutter-io.cn/packages/easemob_im_fluttify) |
| [未完待续...](https://github.com/fluttify-project) | 如有其它需求, 请联系qq 382146139 |  |
## 依赖
```yaml
dependencies:
flutter:
sdk: flutter
baidu_face_flutter: any
```
## 配置
### Android
1. 百度人脸识别的licenseId和licenseFile和打包时的签名key是绑定在一起的, 所以要做到licenseId, licenseFile, applicationId, jks一致.
2. 把licenseFile放在`android/app/src/main/assets/`下, 插件会从这个位置读取licenseFile, 注意不要改动licenseFile名称, 默认名称为`idl-license.face-android`;
### iOS
1. **(注意!)在XCode中**添加授权文件到`Runner/`下, 默认名称为`idl-license.face-ios`, 插件会从此位置读取授权文件.
2. 调起摄像头需要配置权限信息, 在Info.plist中添加
```xml
NSCameraUsageDescription
需要相机
```
## 导入
```dart
import 'package:baidu_face_flutter/baidu_face_flutter.dart';
```
## 使用
参考[wiki](https://github.com/fluttify-project/baidu_face_flutter/wiki).
## 社区
| QQ群 |
| :----------: |
|
|
## 社区版与专业版
| 推流 | 社区版 | 专业版 |
|:-----:|:-----:|:-----:|
| ~~活体检测(默认配置)~~ | ~~✅~~| ~~✅~~ |
| 活体动作配置 | ☑️ | ✅ |
| 动作是否随机 | ☑️ | ✅ |
| 模糊度范围 | ☑️ | ✅ |
| 光照范围 | ☑️ | ✅ |
| 剪裁人脸大小 | ☑️ | ✅ |
| 人脸角度范围 | ☑️ | ✅ |
| 最小检测人脸 | ☑️ | ✅ |
| 是否进行质量检测 | ☑️ | ✅ |
| 人脸遮挡范围 | ☑️ | ✅ |
| 是否开启提示音 | ☑️ | ✅ |
## LICENSE
> Copyright (C) 2020 yohom
>
> This program is free software: you can redistribute it and/or modify
> it under the terms of the GNU General Public License as published by
> the Free Software Foundation, either version 3 of the License, or
> (at your option) any later version.
>
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> GNU General Public License for more details.
>
> You should have received a copy of the GNU General Public License
> along with this program. If not, see .