This is a step-by-step guide on how to configure the tech5 Windows Biosdk with the registration client.
\uD83D\uDCD8 Instructions
Compress the tech5 jars into a single zip file and name it sdkDependecy.zip.
Go to the Mosip artifactory project, navigate to the directory “artifactory-ref-impl/artifacts/src/sdk/” and create a new folder named tech5. Under this folder add the zip file created in Step #1.
Modify the artifactory project’s docker file to include the path of the sdkDependecy zipped folder. I.e add the following code to the docker file.
# environment variable for tech5 jar path ENV tech5_zip_path=${base_path}/libs-release-local/sdk/tech5 COPY /src/sdk/tech5/* ${tech5_zip_path}/
Build and deploy the artifactory project.
Next in the registration client deployment .yml file, add the name and URL of the tech5 SDK to the environment list.
Build and deploy the registration client.
Obtain the native tech5 folder and extract it.
Copy the folder path of the extracted folder in Step #7 and add it to your windows system environment variables list with under a new variable named FACE_SDK_BIN_ROOT.
To use the T5-BioSDK, system must have valid license. Follow below steps to create license requests.
Open the command prompt and run the below command to generate the face & finger license request filesface_sdk_utils --request --out TPM_new_face_sdk.req fingersdk_utils --request --output TPM_new_finger_sdk.req
Request files will be generated in the location where you open the command prompt
Send these request files to TECH5 team to get the licenses
Copy the files config.properties, finger_sdk.lic, face_sdk.lic and iris_sdk.lic files from the native folder to the root folder of the registration client.
config.properties file :# General Provider Configuration ai.tech5.biosdk.provider.general.debug.outputToFile= false ai.tech5.biosdk.provider.general.load.faceSdk= false ai.tech5.biosdk.provider.general.load.fingerSdk= true ai.tech5.biosdk.provider.general.load.irisSdk= true # Face SDK Configuration # 0-20 range ai.tech5.biosdk.provider.face.tc.threshold= 6.0 ai.tech5.biosdk.provider.face.tc.detectorConfidence= 0.9f ai.tech5.biosdk.provider.face.tc.batchSize= 1 ai.tech5.biosdk.provider.face.tc.computeDevice= -1 ai.tech5.biosdk.provider.face.tc.faceSelectorAlg= 2 ai.tech5.biosdk.provider.face.matcher.mMatcher.firListHint= 100000 ai.tech5.biosdk.provider.face.matcher.mMatcher.tableCode= gn ai.tech5.biosdk.provider.face.matcher.mBuilder.version= 105 ai.tech5.biosdk.provider.face.tc.version.quality= 100 ai.tech5.biosdk.provider.face.tc.version.faceDetector= 200 ai.tech5.biosdk.provider.face.tc.version.alignment= 103 ai.tech5.biosdk.provider.face.tc.version.builder= 105 ai.tech5.biosdk.provider.face.tc.version.ageGender= 100 ai.tech5.biosdk.provider.face.tc.remoteLicensingCachePath= "face_sdk.lic" ai.tech5.biosdk.provider.face.tc.remoteLicensingToken= "4293EDB66AE2C" ai.tech5.biosdk.provider.face.tc.useRemoteLicensing= false ai.tech5.biosdk.provider.face.tc.checker.useBackgroundChecker= true ai.tech5.biosdk.provider.face.tc.checker.useBlurChecker= true ai.tech5.biosdk.provider.face.tc.checker.useFaceColorChecker= true ai.tech5.biosdk.provider.face.tc.checker.useGlassesSmileOcclusionChecker= true ai.tech5.biosdk.provider.face.tc.checker.useHotSpotsChecker= true ai.tech5.biosdk.provider.face.tc.checker.useMaskChecker= true ai.tech5.biosdk.provider.face.tc.checker.useOverexposureChecker= true ai.tech5.biosdk.provider.face.tc.checker.useRedEyesChecker= true ai.tech5.biosdk.provider.face.tc.checker.useRotationChecker= true # Finger SDK Configuration #0-20 range ai.tech5.biosdk.provider.finger.threshold= 6.0 ai.tech5.biosdk.provider.finger.search.searchSpeed = 3 ai.tech5.biosdk.provider.finger.search.maxAngle= 50 ai.tech5.biosdk.provider.finger.search.maxDisp = 50 ai.tech5.biosdk.provider.finger.fingerToken= "finger_sdk.lic" # Iris SDK Configuration #0-20 range ai.tech5.biosdk.provider.iris.threshold= 0.2 ai.tech5.biosdk.provider.iris.handlerThreadCount= 6
Modify the properties in the mosip-config repository, registration-default.properties to enable local deduplication.
#Admin Setting to turn local deduplication check On or Off. If y, dedupe check is turned on. If n, dedupe check is truned off. mosip.registration.mds.deduplication.enable.flag=Y ## SDK configurations #SDK implementation class for modality mosip.biometric.sdk.provider.finger.classname=ai.tech5.mosip.biosdk.provider.T5BioSDKProvider mosip.biometric.sdk.provider.iris.classname=ai.tech5.mosip.biosdk.provider.T5BioSDKProvider mosip.biometric.sdk.provider.face.classname=ai.tech5.mosip.biosdk.provider.T5BioSDKProvider
Finally, add the following properties, also in registration-default.properties, and restart the mosip-config server.
mosip.biometric.sdk.providers.finger.tech5.classname=ai.tech5.mosip.biosdk.provider.T5BioSDKProvider mosip.biometric.sdk.providers.iris.tech5.classname=ai.tech5.mosip.biosdk.provider.T5BioSDKProvider mosip.biometric.sdk.providers.face.tech5.classname=ai.tech5.mosip.biosdk.provider.T5BioSDKProvider
Please download the latest Tech5 SDK to enable this feature.