java 如何使用 HTML 和 VeriFinger 采集指纹?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25511693/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 08:09:31  来源:igfitidea点击:

How to capture fingerprint using HTML and VeriFinger?

javahtmlfingerprint

提问by AlexITC

I'm developing a system whose requires to capture user fingerprint. I have done this task using a desktop app in Java.

我正在开发一个需要捕获用户指纹的系统。我使用 Java 中的桌面应用程序完成了这项任务。

I need to do it via web using a form or dialog, but I have no idea how to do it. I want to avoid applets. Is there a way to place a button in HTML and capture a fingerprint?

我需要使用表单或对话框通过网络来完成,但我不知道该怎么做。我想避免小程序。有没有办法在 HTML 中放置一个按钮并捕获指纹?

I'm using verifinger sdk

我正在使用验证器sdk

UPDATEI sent a message to Verifinger team and they sent me this:

更新我向 Verifinger 团队发送了一条消息,他们向我发送了此消息:

  • Trial SDK package includes all the functionality, including VeriFinger Extended.
  • 试用 SDK 包包括所有功能,包括 VeriFinger Extended。

Before starting to implement these questions should be raised and answered:

在开始实施之前,应该提出并回答这些问题:

  • Will your solution be able to interact with user's computer?
  • 您的解决方案能否与用户的计算机进行交互?

If you want your browser application to use client side fingerprint scanners and you want to use Neurotechnology components for it - you should write an applet (Java) or ActiveX component and then embed it to C# asp.net application (sorry we do not have sample for that). There are other ways of implementation but the applet is a general approach.

如果您希望您的浏览器应用程序使用客户端指纹扫描仪,并且您希望为其使用 Neurotechnology 组件 - 您应该编写一个小程序(Java)或 ActiveX 组件,然后将其嵌入到 C# asp.net 应用程序中(抱歉,我们没有示例为了那个原因)。还有其他实现方式,但小程序是一种通用方法。

  • Will your solution be able to extract biometric templates on client side?
  • 您的解决方案能否在客户端提取生物识别模板?

If you want your application to extract and/or do matching on client pc - you will have to use either an applet or ActiveX (in order to run code that references our libraries on clients pc). If you do not want to do that - you can capture an image (either with our components, or maybe just allowing client to select a file), upload it to the back-end (running C# ASP.NET, Java EE or even PHP), do processing there, return the results.

如果您希望您的应用程序在客户端 pc 上提取和/或进行匹配 - 您必须使用小程序或 ActiveX(以便在客户端 pc 上运行引用我们库的代码)。如果您不想这样做 - 您可以捕获图像(使用我们的组件,或者可能只是允许客户端选择一个文件),将其上传到后端(运行 C# ASP.NET、Java EE 甚至 PHP ),在那里做处理,返回结果。

In general the Java Applet sample is a good place to start: you can use it for image capture and/or template extraction and write your own middleware (like enrollment to database or matching) on server (i.e. web services) and reference it from the client browser application.

一般来说,Java Applet 示例是一个很好的起点:您可以使用它进行图像捕获和/或模板提取,并在服务器(即 Web 服务)上编写您自己的中间件(如注册到数据库或匹配)并从客户端浏览器应用程序。

SDK does include Abis sample java applet. It can be built with Maven running from command prompt this command: "mvn clean install -Papplet"

SDK 确实包含 Abis 示例 java 小程序。它可以通过从命令提示符运行的 Maven 来构建:“mvn clean install -Papplet”

From SDK\samples\biometrics\java directory (if SDK 5.0 is used)

从 SDK\samples\biometrics\java 目录(如果使用 SDK 5.0)

From SDK\samples\ (if SDK 4.5 is used)

来自 SDK\samples\(如果使用 SDK 4.5)

Maven version 3.1.1 is recommended.

建议使用 Maven 版本 3.1.1。

I hope it can be useful.

我希望它有用。

UPDATE 2

更新 2

I did an applet which capture the fingerprints and passed them to a javascript function.

我做了一个小程序,它捕获指纹并将它们传递给一个 javascript 函数。

UPDATE 3

更新 3

I released an example projectto to this, explained in this post.

我为此发布了一个示例项目,在这篇文章中进行了解释。

采纳答案by Eric J.

The Verifinger SDKcontains components for creating stand-alone or web-based applications.

的VeriFinger SDK包含用于创建基于Web的单机或应用程序的组件。

Available as a software development kit that allows development of stand-alone and Web-based solutions on Microsoft Windows, Linux, Mac OS X, iOS and Android platforms.

作为软件开发工具包提供,允许在 Microsoft Windows、Linux、Mac OS X、iOS 和 Android 平台上开发独立和基于 Web 的解决方案。