468,167 Members | 1,965 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,167 developers. It's quick & easy.

Microsoft Fingerprint Reader SDK/API

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

Nov 22 '05 #1
5 26450
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.

"le*******@gmail.com" wrote:
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

Nov 22 '05 #2
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:
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.

"le*******@gmail.com" wrote:
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


Nov 22 '05 #3
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.

"lewix" wrote:
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:
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.

"le*******@gmail.com" wrote:
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


Nov 22 '05 #4
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

Nov 22 '05 #5
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).

"le*******@gmail.com" wrote:
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

Nov 22 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by lewixlabs | last post: by
23 posts views Thread by Roel Melchers | last post: by
1 post views Thread by Roel Melchers | last post: by
3 posts views Thread by Javier Camacho | last post: by
8 posts views Thread by Jon Vaughan | last post: by
reply views Thread by Robson Carvalho Machado | last post: by
reply views Thread by durumdara | last post: by
1 post views Thread by gcdp | last post: by
reply views Thread by kamranasdasdas | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.