6.3 Fingerprint Plug-in

You can navigate to the following URL to check the WBF Capture Service and place the finger on the reader while the URL is loading:

https://127.0.0.1:8442/api/v1/fingerprint/capture

The service returns the response in the following format:

{"BitsPerPixel":x,"BytesPerLine":xxx,"Dpi":xxx,"Height":xxx,"Image":"<fingerprintdata>","Width":xxx,"captureStatus":"Ok"}.

For example: {"BitsPerPixel":8,"BytesPerLine":256,"Dpi":508,"Height":360,"Image":"<fingerprintdata>","Width":256,"captureStatus":"Ok"}.

The following table describes the different parameters of the response.

Parameter

Description

captureStatus

Indicates status of capture. Possible values are:

  • Ok

  • Timeout

  • Error

  • NoReader

Width, Height

Fingerprint image size (width and height) in pixels.

Dpi

Dots per inch. This is used while matching the fingerprint.

BitsPerPixel

Bits per pixel. Typically 6 bits.

BytesPerLine

Bytes per line in image.

Image

Fingerprint image encoded using the Base-64 format in gray scale.

You can navigate to the following URL to check the multiple fingerprint reader and place the correct fingers on the reader while the URL is loading:

https://127.0.0.1:8442/api/vi/fingerprint/capture?index=<index_value>

The index_value can be one of the following:

  • 1 indicates four fingers of the left hand.

  • 2 indicates four fingers of the right hand.

  • 3 indicates two thumbs.

The service returns the response in the following format:

{"Finger":x,"Image":{"BitsPerPixel":x,"BytesPerLine":xxx,"Dpi":xxx,"Height":xxx,"Image":"<fingerprintdata>","Width":xxx,"captureStatus":"Ok"}}

For example:

{"Finger":1,"Image":{"BitsPerPixel":8,"BytesPerLine":256,"Dpi":508,"Height":360,"Image":"<fingerprintdata>","Width":256,"captureStatus":"Ok"}}

where the finger represents the finger ID. Possible values are:

  • 1 for the right thumb.

  • 2 for the left thumb.

  • 3 for the right index.

  • 4 for the left index.

  • 5 for the right middle.

  • 6 for the left middle.

  • 7 for the right ring.

  • 8 for the left ring.

  • 9 for the right little.

  • 10 for the left little.