The Face-Intellect software allows obtaining real-time information on the number of passes of each person in the field of view of a given video camera.
To use this function, you need to set the value of the registry key UseFaceDB = 2 (see the Registry keys reference guide). |
The online analytics function is enabled as follows:
If the Online analytics check box is selected, the Pass event (RECOGNITION_PASS) is displayed in the Event log when the face is detected. This event has the following parameters:
These parameters can be used in scripts in the JScript programming language (for more information on creating scripts, see the Programming Guide (JScript), the most current version of this document is available in the AxxonSoft documentation repository.
The following example shows the recording of a frame with a captured face image transmitted using the imageBase64 parameter to a file on the disk:
if (Event.SourceType == "FIRSERVER" && Event.Action == "RECOGNITION_PASS" && Event.SourceId=="1") { SaveToFile("c:\\Faces\\"+Event.GetParam("firstId")+".jpg",Event.GetParam("imageBase64"),true); } |