usnistgov/NFIQ2

NFIQ2::FingerprintImageData from bmp or wsq

letisoft opened this issue · 5 comments

Hello,

How can I get FingerprintImageData from bmp or wsq?

Any sample will help.

Thanks!

The NFIQ2 CLI makes use of Biometric Evaluation framework for this. Code is included in this repo.

Hello,

Can you please point me to any src to check?

Thanks in advance!
V

NFIQ2/NFIQ2Algorithm/src/tool/nfiq2_ui_image.cpp

Thank you very much!

sorry I had a look, but still cannot get it how to use bmp to get FingerprintImageData.
I have the raw data from the sensor, I can get it in bmp. I know the image dimensions (W x H and DPI) but not sure what's next!

In short I have android device with a cross match sensor and I want to make sure images are good enough!

I do really appreciate you help & patience with non experts!

V

On Android, if you have a BMP, seems like you can use getPixels to decompress it into raw bytes. Then pass the buffer to this FingerprintImageData constructor. You're going to need to convert the int[] to uint8_t[] (i.e., unsigned char) though. Sorry, I can't be much further help there.