CBEFF
Common Biometric Encoding File Format
Overview
The exact format of a BDB
can be proprietary, unpublished. Here is excerpt:




----oOo----
Those boxes in dark gray are not needed. But those in light gray are are.



The first 14 bytes is fixed:
46 41 43 00 (format identifier)
30 31 30 00 (version no.)
00 01 48 EF (length of record)
00 01 (number of face images)
0000000 46 41 43 00 30 31 30 00 00 01 48 ef 00 01 00 01 >FAC.010...H.....<
0000020 48 e1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >H...............<
0000040 00 00 01 01 02 80 01 e0 01 05 00 00 00 00 00 00 >................<
0000060 00 0c 6a 50 20 20 0d 0a 87 0a 00 00 00 14 66 74 >..jP ........ft<
0000100 79 70 6a 70 32 20 00 00 00 00 6a 70 32 20 00 00 >ypjp2 ....jp2 ..<
0000120 00 47 6a 70 32 68 00 00 00 16 69 68 64 72 00 00 >.Gjp2h....ihdr..<
0000140 01 e0 00 00 02 80 00 03 07 07 00 00 00 00 00 0f >................<
0000160 63 6f 6c 72 01 00 00 00 00 00 10 00 00 00 1a 72 >colr...........r<
0000200 65 73 20 00 00 00 12 72 65 73 63 99 ca 00 01 99 >es ....resc.....<
0000220 ca 00 01 00 00 00 00 00 00 6a 70 32 63 ff 4f ff >.........jp2c.O.<
The next 20 bytes is also fixed.

00 01 48 E1 (facial record data length)
00 00 (number of feature points)
00 (gender)
00 (eye color)
00 (hair color)
00 00 00 (property mask)
00 00 (expression)
00 00 00 (pose angle)
00 00 00 (pose angle uncertainty)


Image Information 12 bytes:
01 (face image type)
01 (image data type)
02 80 (width)
01 E0 (height)
01 05 (image color space)
00 (source type)
00 00 (device type)
00 00 (quality)

Additional Details
More details can be found in Face_Image_Data_Standard_Ver1.0.pdf. For example, details such as eye color:


Summary

Correction: image color space is 1 byte only
OID
Decode

"data" : "base64urlencode(header).base64urlencode(payload).base64urlencode(signature)
Last updated
Was this helpful?