指纹注册使用WinBio,样本号
Fingerprint enroll using WinBio, sample number
我正在尝试使用Windows生物识别框架注册指纹。这个过程很简单,但我想问你,是否需要定义数量的样本(用户刷手指的次数)来进行注册?
如果这是基于硬件的,那么它应该会随着你使用的指纹读取器而改变,但我想知道这是否是特定于实现的。
我正在复制MSDN 中的示例
// Capture enrollment information by swiping the sensor with // the finger identified by the subFactor argument in the // WinBioEnrollBegin function.
for (int swipeCount = 1;; ++swipeCount)
{
wprintf_s(L"n Swipe the sensor to capture %s sample.",
(swipeCount == 1)?L"the first":L"another");
hr = WinBioEnrollCapture(
sessionHandle, // Handle to open biometric session
&rejectDetail // [out] Failure information
);
wprintf_s(L"n Sample %d captured from unit number %d.",
swipeCount,
unitId);
if (hr == WINBIO_I_MORE_DATA)
{
wprintf_s(L"n More data required.n");
continue;
}
if (FAILED(hr))
{
if (hr == WINBIO_E_BAD_CAPTURE)
{
wprintf_s(L"n Error: Bad capture; reason: %d",
rejectDetail);
continue;
}
else
{
wprintf_s(L"n WinBioEnrollCapture failed. hr = 0x%x", hr);
goto e_Exit;
}
}
else
{
wprintf_s(L"n Template completed.n");
break;
}
}
我们能知道每次还需要多少数据吗?
在指纹登记结束之前,无法确定需要多少样本。(我寻找这个数字的唯一原因是为了通知用户需要多少次尝试-想法不好…)
相关文章:
- 编译 libfluid 样本控制器时对"event_base_del_virtual"的未定义引用
- 使用源读取器从网络摄像头源获取 H264 样本
- 当相机接近模型时,SSAO样本内核会导致性能下降?
- 如何从 std::set 绘制 n 个元素的样本
- 如何通过一次运行将多个输入样本馈送到C++张量流模型
- 如何测量一个音频样本中的低音量
- 如何从 avi 文件中抓取所有帧 - 如何修改 MS 样本采集卡样本
- 为什么当只有样本计数不同时avcodec_fill_audio_frame返回 -22?
- 在QtMultimedia的QAudioFormat中为24位,32位和64位音频选择哪种样本类型(而不是大小)?
- 提升ASIO TCP螺纹.等待新样本
- webRTC : 如何通过从WAV文件获得的样本将webRTC的VAD应用于音频
- 具有固定样本空间的排列算法
- 数据集(和样本)何时在 boost::test 中销毁?
- 媒体基础获得视频文件的精确帧(样本)计数
- Visual样本存储过程从C 程序执行
- 是否可以从SFML中的音频样本中左右通道分开
- Runge-Kutta第四阶粒子对流代码样本
- 犰狳媒介类的RCPP犰狳样本
- 指纹注册使用WinBio,样本号
- WinBio保存捕获样本为图像-无法从内存中读取