Skip to main content

Face Recognize

Properties | Events | Methods

A Face Recognition control is a pre-built UI component that enables seamless integration of facial recognition functionality into applications. It allows capturing and comparing a user's face using a webcam and supports user authentication based on facial features.

Appearance

Control Alignment

'controlalign' String

Specifies control alignment as Left, Right, center, Top or Bottom.

Custom

Image Size

'ImgSize' number The Size of the face recognition control in Form.

Capture Accuracy

'captThreshold' It is used for high-accuracy face comparison, with a configurable quality threshold ranging from low to high.

Face setting

'captThreshold' facesetting Define JSON structure to form url for scan app

Face recognition operates in two modes:

Capture – Captures a new face image. Comparison – Compares the incoming face image with an already stored image.

{
"url": "",
"type": "capture",
"querystring": {
"refcode": 123,
"faceId": 0,
"action": 10,
"srcInfo": {
"srcdoctyp": 30190,
"srcref": 0,
"empcode": 98,
"lnkentcd": 0
},
"addlinfo": {
"name": "#8"
}
}
}

#FieldDescriptionData typeSample Data
1urlDefine scan app base URL – NRStringdirect url - https://scan.oreapps.com/facecompare?q= connector - https://scan.oreapps.com/
2typeDefine face capture type (capture/compare)Stringcapture
3querystring
3.1refcodeReference CodeNumber10
3.2faceIdDefine face ID for edit modeNumber-
3.3actionDefine actionNumber10
4srcInfo
4.1srcdoctypDefine screen IDNumber-
4.2srcrefDefine reference numberNumber0
4.3empcodeDefine employee codeNumber98
4.4lnkentcdDefine entity codeNumber0
5addlinfo
5.1nameDefine employee name from applicationString# + control id
{
"url": "https://scan.oreapps.com/facecompare?q=",
"type": "compare",
"querystring": {
"tgtdsId": 30624,
"cmpType": "multi",
"scrnat": 20,
"srcDet": {
"srcdsId": 30237,
"projCode": 101000091605
},
"valDet": {
"valdsId": 3021
}
}
}

*Sample Url - direct url - https://scan.oreapps.com/facecompare?q= connector - https://scan.oreapps.com/

#FieldDescriptionData typeSample Data
1urlDefine scan app base URL – NRString
2typeDefine face capture type (capture/compare)Stringcompare
3querystring
3.1tgtdsIdDefine target dataset to store data if applicableNumber-
3.2cmpTypeDefine to capture single/multi faceStringmulti
3.3scrnatDefine screen nature (mess/attendance)Number10 – attendance / 20 – mess
4srcDet
4.1srcdsIdDefine Source ID to get face dataNumber-
4.2projCodeDefine project code to filter faceNumber-
5valDet
5.1valdsIdDefine validation source ID – to check user validityNumber-

Events

No Events applicable for face Recognize

Methods

For more information on Methods in this section, see the General-Methods.