QR Code
It is possible to perform identification on the iDFace device through previously registered QR Codes. QR Codes are stored as objects and must be created and modified following the same premises as other objects via API.
The QR Codes identification can be performed through the Control iD's QR Code readers, being them the USB model and the Wiegand model. Furthermore, for the iDFace facial device, the identification can be performed through the device's cameras, but if you choose to use external readers, these also are supported by the device.
Operation mode
QR Code recognition can be used in three modes.
In Numeric Only Mode (Standard) the QR Code content must be 64 bits numeric and, in addition, the QR Code will be saved as an object of type cards.
In Hexadecimal Numeric Mode the QR Code content must be 64 bits hexadecimal numeric and its value will be interpreted by the device as decimal numeric. In addition, the QR Code will be saved as an object of type cards.
In Alphanumeric Mode alphanumeric characters are accepted in the representation of the QR Code and the object used for storage will be of type qrcodes. This mode is only supported by Access Line V5 devices (devices with 13-digit serial numbers) using an external USB QR Code Reader, or by the iDFace, using the device's cameras. The iDFace is also compatible with an external USB QR Code Reader. Wiegand QR Code Readers are not supported in this mode.
To change the operating mode, you must first change the module according to the equipment used. Access Line V5 devices use the barras
module, while the iDFace (Access Line V6) uses the face_id
module. After this configuration you must change the value of the parameter qrcode_legacy_mode_enabled
parameter. If it's set to "0", the Alphanumeric Mode will be enabled, if its value is "1", Numeric Only Mode will be enable, and if its value is "2", Hexadecimal Numeric Mode will be used.
Request example for iDFace (Access Line V6)
Changes the QR Code's operating mode:
$.ajax({
url: "/set_configuration.fcgi?session=" + session,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
"face_id": {
"qrcode_legacy_mode_enabled": "0"
}
})
});
Request example for Access Line V5 devices
Changes the QR Code's operating mode:
$.ajax({
url: "/set_configuration.fcgi?session=" + session,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
"barras": {
"qrcode_legacy_mode_enabled": "0"
}
})
});