8000 GitHub - coder-wuyan/flutter_face_scan: 人脸识别图形界面
[go: up one dir, main page]

Skip to content

coder-wuyan/flutter_face_scan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_face_scan_exmple

pub package

android:无需配置

ios:在Info.plist文件中加入

<key>NSCameraUsageDescription</key>
	<string>需要您的确认才能访问相机</string>

使用

1.初始化

void main() {
  runApp(MyApp());

  ///初始化
  FaceScan.init();
}

2.打开扫描页面

 FaceScan.openScan(
  context: context,
  path: null,
  faceScanCallBack: (path) {
    print("返回图片文件路径:" + path);
  });
                    

3.改变扫描页面的一些调用

 ///通知图形界面在识别中
 FaceScan.Scaning();
 
 ///通知图形界面识别失败
 FaceScan.ScanFail();
 
 ///识别成功后可关闭页面
 Navigator.pop(context);
 
 
                  

A new Flutter application.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

人脸识别图形界面

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 78.0%
  • Ruby 16.5%
  • Swift 2.8%
  • Kotlin 2.4%
  • Objective-C 0.3%
0