1

I'm currently developping a JAVA program which uses Digital Persona 4500.[DigitalPersonaBiometricSDKforWindows_3.4.0]

We're facing problems with it, the sample code uses a GUI that you can sample digital, it works fine with the GUI.

But if we dont use the GUI, the code stops on Reader.Capture()... I've tried many things like another Thread only for sampling and etc.

ReaderCollection m_coll = UareUGlobal.GetReaderCollection();
m_coll.GetReaders();
Reader m_reader = m_coll.get(0);
m_reader.Open(Reader.Priority.COOPERATIVE);
Reader.CaptureResult cr = m_reader.Capture(Fid.Format.ANSI_381_2004, Reader.ImageProcessing.IMG_PROC_DEFAULT, m_reader.GetCapabilities().resolutions[0], -1);
System.out.println(cr.quality);

Similar Question: Call to Reader.Capture() in DigitalPersona U.are.U SDK does not return

Hakan Dilek
  • 2,178
  • 2
  • 23
  • 35
Budelon
  • 53
  • 5

2 Answers2

0

I have just added solution in below question,

Call to Reader.Capture() in DigitalPersona U.are.U SDK does not return

Copying same answer here,

I faced the similar issue and it can be fixed by opening a reader in exclusive mode as below,

m_reader.Open(Reader.Priority.EXCLUSIVE);

Refer to below lines from documents,

public static final Reader.Priority COOPERATIVE

Client uses this priority to open reader in cooperative mode. Multiple clients with this priority are allowed. Client receives captured images if it has window with focus.

public static final Reader.Priority EXCLUSIVE

Client uses this priority to open reader exclusively. Only one client with this priority is allowed.

0

You can try this one. SDK for digital persona finger print scanner for java (Android). Its provide you bitmap. you can implement as a your requirment. Check this android app download it, available on google play store. App Link: https://play.google.com/store/apps/details?id=com.digitalpersona.digitalpersona

For More Infomation Visite Offical Website of (Brain Wave App Studio) http://digital.persona.sdk.android.brainwaveappstudio.com

Community
  • 1
  • 1
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 07 '23 at 16:20