Microsoft Fingerprint Reader SDK/API

Microsoft Fingerprint Reader SDK/API

Post by lewixlab » Sun, 18 Sep 2005 04:24:39


Hello,

I have to develop an application which use Microsoft Fingerprint
Reader.
This device can be handled like a scanner? So can i use a class inside
Platform SDK or API? There are resources?
I only need to be able to capture images generated by the fingerprint
reader (i would have already an algorithm to compare 2 fingerprint
images).

If somebody could help me, or suggest me how i can move.

Best regards,
De Togni Luigino
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by lewixlab » Sun, 18 Sep 2005 04:26:19

Hello,

I have to develop an application which use Microsoft Fingerprint
Reader.
This device can be handled like a scanner? So can i use a class inside
Platform SDK or API? There are resources?
I only need to be able to capture images generated by the fingerprint
reader (i would have already an algorithm to compare 2 fingerprint
images).

If somebody could help me, or suggest me how i can move.

Best regards,
De Togni Luigino

 
 
 

Microsoft Fingerprint Reader SDK/API

Post by UGhpbCBXaW » Sun, 18 Sep 2005 08:27:53

Hi,
I've no experience of fingerprint scanner, but if it works the same way as a
scanner you could try the following if you're using XP.

In your project, add a reference to Microsoft Windows Image Acquisition
Library v2.0.

To use the wizard to scan an image, try

WIA.CommonDialog dialog = new WIA.CommonDialogClass();
WIA.Device device = dialog.ShowSelectDevice(
WIA.WiaDeviceType.ScannerDeviceType, true, false);
dialog.ShowAcquisitionWizard(device);

Alternatively, the following code allows you to scan the image and
programmically control where it is saved.

WIA.CommonDialog dialog = new WIA.CommonDialogClass();
WIA.ImageFile file = dialog.ShowAcquireImage(
WIA.WiaDeviceType.ScannerDeviceType,
WIA.WiaImageIntent.UnspecifiedIntent,
WIA.WiaImageBias.MaximizeQuality,
WIA.FormatID.wiaFormatJPEG,
true, true, false);
file.SaveFile(@"c:\myimage." + file.FileExtension);

All the Best,
Phil.
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by lewi » Wed, 21 Sep 2005 16:26:04

Thank you for your help, but your example is in .Net?
Sorry could you translate (or send me a link) to a C++ (or MFC Visual
c++) example?

Thank you.

Lewis

Phil Williams ha scritto:
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by UGhpbCBXaW » Wed, 21 Sep 2005 18:33:05

As this is a .Net forum, I had assumed you required a .Net example (the
example was c#).

Please find below a c++ (.Net) example below. It I have time, I will post a
MFC example later.

// Using the wizard
Interop::WIA::CommonDialog * dialog = new Interop::WIA::CommonDialogClass();
Interop::WIA::Device * device = dialog->ShowSelectDevice(
Interop::WIA::WiaDeviceType::ScannerDeviceType, true, true);

if (device)
{
dialog->ShowAcquisitionWizard(device);
}

// Without the wizard
Interop::WIA::CommonDialog * dialog = new Interop::WIA::CommonDialogClass();
Interop::WIA::ImageFile * file = dialog->ShowAcquireImage(
Interop::WIA::WiaDeviceType::ScannerDeviceType,
Interop::WIA::WiaImageIntent::UnspecifiedIntent,
Interop::WIA::WiaImageBias::MaximizeQuality,
Interop::WIA::FormatID::wiaFormatJPEG,
true, true, false);

if (file)
{
System::Text::StringBuilder * fileName =
new System::Text::StringBuilder("c:\\myimage.");
fileName->Append(file->FileExtension);
file->SaveFile(fileName->ToString());
}

Regards,
Phil.
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by lewi » Thu, 22 Sep 2005 16:34:13

Many many thanks Phil,
i know C#, but i have been developing an MFC application for 9 months,
so i forget some things about C#. I have to re-study :)

OK now i try the code you suggested me, if in future you will have time
to write it in MFC i will appreciate.

Thanx,

Lewix
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by Sm9ob » Sun, 23 Oct 2005 05:13:03

The guys at www.griaule.com has a FREE SDK that supports the MS Fingerprint
Reader, just download it. There's a sample (with source code in many
languages, including C# e C++.NET).
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by Sm9ob » Sun, 23 Oct 2005 05:15:02

The guys at www.griaule.com has a FREE SDK that supports the MS Fingerprint
Reader, just download it.
 
 
 

Microsoft Fingerprint Reader SDK/API

Post by lewi » Sun, 23 Oct 2005 05:47:22

The link you gave me show a blank page.
Have you downloaded it? (but are you sure it is free?)

if so, can you send me the exact link? Or if you downloaded it, and it
is small, can you send it to me by email? My address is lewixlabs
AT gmail DOT com

Thank you if you can help me

De Togni Luigino