BCC Services Integration

Introduction

BCC Services is a software component used for biometric capture. BCC Services is used to collect biometric images, but does not automatically send them to the server. You can see how to send a capture to GBDS in the section Registration in GBDS.

circle-exclamation

This manual describes the standard biometric capture workflow and troubleshooting for BCC Services. See the BCC Services API specification for more information about the API calls.

This manual is up to date for BCC Services version 2.8.8.

Capture Flow

This section will describe the capture flow and the biometric capture options you can perform with BCC Services. An example of endpoint calls and responses can be seen in the Capture Flow Example

To start a capture, you need to call one of the biometric capture endpoints. These are:

These captures may return one of two responses:

  • 200, for OK

  • 400, for ERROR

The status 200 will have a field tguid that you must save. Each Biometric Capture call will have its unique ID, regardless of how many captures are performed in the same call. that is, you can perform the call Fingerprint Capturearrow-up-right to collect all ten fingers, generating one tguid for all captures, or using the same endpoint ten times, generating one tguid for each fingerprint.

The biometric capture opens a capture window. To get the capture status, execute the status callarrow-up-right. This endpoint will return the capture status, the sensor information and partial information of which biometrics are captured.

You must perform the status call until the value of the field status is captured. This will indicate that the capture has been completed. Other statuses can be seen if the capture is incomplete, such as capturing if the capture window is still open or closed if the capture window has been closed without completing the capture.

When obtaining the capturedstatus, you need to perform the call getProfilearrow-up-right. The response of this call contains the images .wsq and .jpeg. These are in the field buffer and converted-buffer, respectively, as bytearrays in base64 format.

After the completion of a capture, we recommend saving the images in a local database until sending them to the server.

triangle-exclamation

After all required captures have been made, restart the BCC services using the restartBccarrow-up-right.

circle-exclamation

The call restartBcc will stop BCC Services and reopen it automatically. To ensure the software is running after restart, perform the serviceStatusarrow-up-right call and verify that the value of the field serverState is running.

Reopen incomplete capture window

If the user closed the capture window without finishing the capture, the status callarrow-up-right will return the value of the status as closed. You can continue an interrupted capture with the openCapturearrow-up-right call passing the tguid provided by the biometric capture call. This will keep the capture progress.

Retrieving TGUID

If you lost a TGUID for any reason, you can recover the TGUID using the listCaptureInstancesarrow-up-rightcall. Within the array of instances, you can find all biometric captures performed while BCC Services was active (if the transaction history has not been cleared). It will list them in execution order, the first will be the first Biometric Capture called and the last will be the last Biometric Capture called. An example response is shown below.

Troubleshooting

BCC Services has some troubleshooting calls that you can make to ensure things are working correctly. Such as whether your equipment is being identified and whether the software version is known by you and the support team that can help you with your issue. These calls are presented below.

Version

Checking the software version is essential for troubleshooting scenarios. To check the BCC Services version, execute the version callarrow-up-right.

Running

To check if the program is running, use the serviceStatus callarrow-up-right and observe the value of the field serverState.

Devices

BCC Services offers an option to show all devices that are connected to it. To display the list of devices, execute the deviceStatusarrow-up-right.

call

Shutdown To shut down BCC Services, callarrow-up-right

Capture Flow Example

finishService

In this example, we will describe how to perform the calls for a registration of a rolled capture of all fingers of the left hand. First, perform thearrow-up-right Fingerprint Capture Call

circle-info

with the following query: The field captureMode

"type": "IMPORT",

"tguid": "F1F14ADA-6A00-4A67-B887-F574764ECC77" statusarrow-up-rightCopy this TGUID and start calling captured.

circle-exclamation

, may also be returned if the operator does not complete the capture.

"state": "NORMAL" status If some fingers were captured but the capture was not finalized, the

"contrast": 66, status After the end of the capture, the field of captured will change to status and the

circle-exclamation
circle-info

"width": 1000.0, .jpeg.

After a complete transaction, the status call responds with the images getProfilearrow-up-rightNow it is time to perform the .wsq and .jpeg. This call will respond with the images in images buffer . The field .wsq contains the images while the field . The field .jpeg.

"buffer": "BYTEARRAY",

Registration in GBDS

After capture, you can send the images to the server. To understand how to register the captured biometrics in GBDS, go to the next section. Call thearrow-up-right enroll endpoint

if you want to register the previously captured images in GBDS. In the payload you need to insert the key information (keys), and biographics (biographics). Within the arraybiometric , you will need to insert the data from the BCC Services getCapture

endpoint. buffer The value of the field BCC Services needs to be placed in the value of the field content

circle-info

in the JSON payload for GBDS.

For more information about operations in GBDS, consult the GBDS Integration Manual.

"index": 4,

Annotation of anomaly in capture fingerprintsFor an anomaly in the fingerprint capture to be recorded, the transaction metadata must include the object

. This object must contain the finger indexes and their respective anomalies.:

"anomaly": "AMPUTATED"

  • The indexes are ENUMs:

  • LEFT_LITTLE

  • LEFT_RING

  • LEFT_MIDDLE

  • LEFT_INDEX

  • LEFT_THUMB

  • RIGHT_THUMB

  • RIGHT_INDEX

  • RIGHT_MIDDLE

  • RIGHT_RING

RIGHT_LITTLE

  • The types of anomalies are:

  • DAMAGED

  • BANDAGED

  • IGNORED

The AMPUTATED metadata enroll needs to be added to the

with the following query: "metadata", represented in base64 in the example above, corresponds to the following JSON:

circle-info

The JSON must contain at least the field “fingerprints” and within each item at minimum the fields "index" and "anomaly".

Last updated

Was this helpful?