android sdk 官网说明,神目人脸识别Android SDK Demo说明

Demo使用说明

SDK Demo主界面如图1-1所示,主要功能有:1:1,1:N,人脸库管理,设置选项四大功能。具体说明如下:

(1)1:1,即图片1与图片2进行人脸比对,得出两者的相似度分数。界面如图1-2所示,点击空白处的图片,进入图片选择界面,选择需要比对的人脸图片即可。注意:图片保持正向,建议尺寸低于1920 X 1080,人脸清晰。

(2)1:N,使用该功能之前请至人脸库管理中进行人脸注册。注册完成以后,进入1:N,如图1-3所示,图中显示了当前人脸与库中人脸进行比对的结果,其中上方分数表示比对阈值,红框表示非活体,绿框表示活体,人脸框左上角表示注册的名字。

(3)人脸库管理,主界面如图1-4所示。主要功能有:人脸注册,人脸删除,已注册的人脸显示,人脸搜索,人脸翻页显示。点击“拍照录入”,进入如图1-5所示界面,填写注册姓名,点击下方Camera图标,进行拍照注册,如图1-6所示,注册完成后回到人脸显示界面,点击注册按钮,进行注册。再次进行1:N,进行人脸比对,如图1-3所示,显示了比对分数,人脸名字,活体效果等等。

(4)[endif]设置。界面如图1-7所示,其中批量导入功能说明如下:点击“请选择导入文件夹”该按钮,进入界面如图1-8所示,选择对应的图片文件夹,点击“批量导入”,开始进行人脸的导入。导入完成以后,进入人脸框管理,可以查看导入的人脸信息。

27fe1e49898e

27fe1e49898e

27fe1e49898e

27fe1e49898e

27fe1e49898e

27fe1e49898e

27fe1e49898e

0

27fe1e49898e

算法流程说明

Deepcam SDK采用了deepcam.key网络验证的方式,需要获取由Deepcam提供的key文件才可以正常使用,具体请参考官网注册流程或联系工作人员,网址:https://ai.deepcam.cn。

Deepcam算法接口只支持同步调用,算法说明流程图如图2-1所示,说明如下:

(1)[endif]进入应用,后台加载本地保存的所有特征对象到内存。

(2)[endif]注册完人脸信息以后,进入1:N,打开相机,开启相机预览。

(3)[endif]开启两个线程,线程1负责人脸检测和相机画面回显,线程2负责活体检测,特征提取和1:N比对。

(4)[endif]线程1,首先会进行人脸,检测到人脸以后,保存人脸信息到全局变量的数组中,同时更新相机画面预览。

(5)[endif]线程2,如果打开了活体,先进行活体检测,如果没有,直接进行特征提取。根据提取的特征值进行1:N比对,获取比中的特征对象的姓名和分数等信息。

(6)[endif]最后,将需要的信息异步显示到主界面中。

27fe1e49898e

List of Sample Apps The list below provides a summary of the sample applications that are available with the Android SDK. Using the links on this page, you can view the source files of the sample applications in your browser. You can also download the source of these samples into your SDK, then modify and reuse it as you need. For more information, see Getting the Samples. API Demos A variety of small applications that demonstrate an extensive collection of framework topics. Backup and Restore A simple example that illustrates a few different ways for an application to implement support for the Android data backup and restore mechanism. Bluetooth Chat An application for two-way text messaging over Bluetooth. BusinessCard An application that demonstrates how to launch the built-in contact picker from within an activity. This sample also uses reflection to ensure that the correct version of the contacts API is used, depending on which API level the application is running under. Contact Manager An application that demonstrates how to query the system contacts provider using the ContactsContract API, as well as insert contacts into a specific account. Home A home screen replacement application. JetBoy A game that demonstrates the SONiVOX JET interactive music technology, with JetPlayer. Live Wallpaper An application that demonstrates how to create a live wallpaper and bundle it in an application that users can install on their devices. Lunar Lander A classic Lunar Lander game. Multiple Resolutions A sample application that shows how to use resource directory qualifiers to provide different resources for different screen configurations. Note Pad An application for saving notes. Similar (but not identical) to the Notepad tutorial. SampleSyncAdapter Demonstrates how an application can communicate with a cloud-based service and synchronize its data with data stored locally in a content provider. The sample uses two related parts of the Android framework — the account manager and the synchronization manager (through a sync adapter). Searchable Dictionary A sample application that demonstrates Android's search framework, including how to provide search suggestions for Quick Search Box. Snake An implementation of the classic game "Snake." Soft Keyboard An example of writing an input method for a software keyboard. Spinner A simple application that serves as an application-under-test for the SpinnerTest sample application. SpinnerTest An example test application that contains test cases run against the Spinner sample application. To learn more about the application and how to run it, please read the Activity Testing tutorial. TicTacToeLib An example of an Android library project that provides a game-play Activity to any dependent application project. For an example of how an application can use the code and resources in an Android library project, see the TicTacToeMain sample application. TicTacToeMain An example of an Android application that makes use of code and resources provided in an Android library project. Specifically, this application uses code and resources provided in the TicTacToeLib library project. Wiktionary An example of creating interactive widgets for display on the Android home screen. Wiktionary (Simplified) A simple Android home screen widgets example.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值