Skip to main content

Aquaji logs

Where to find and how it's works

Written by Giuseppe

To Access logs :

Sur Windows : C:\Program Files\Navori\AquajiEdge\logs

Sur Ubuntu (Stix5700) /home/ubuntu/aquaji/logs

Important to know : Each log file is stored and recorded with the corresponding date. However, the file for the current day is named "cam.logs" and will be automatically renamed at the end of the day with the date. The following day, a new "cam.logs" file will be opened

.

Here an example of log file :

Important notions to understand in the logs files :

:NEW TEMP EMBEDDING : -33 SIMILARITY : 0.217406 ?

· The algorithm is as follows: o Aquaji detects a face (new embedding) and assigns it a temporary negative ID (here 33). Aquaji compares this embedding with the ones it has in memory and calculates a similarity coefficient between 0 and 1. If the coefficient is higher than the "Face similarity ID", it's the same person; otherwise, it's a new person, and an ID is assigned to them (below 25).

:NEW FACE ID CREATED : 25 ?

Aquaji detects a face and assigns it an ID. In this example, the ID is 25. Thus, thanks to the face detection, the person will not be counted multiple times if they pass in front of the camera again. This also depends on the setting of the continuous presence time, which can be adjusted in the technical profile.

Person removed : face_id = 0

· The algorithm is as follows: An embedding is removed if it has not been detected for a certain period of time defined by the Tracking parameter.

Sending live Feed : {"TotalCount":1,"FemaleRatio":100,"MaleRatio":0,"From0To25Ratio":0,"From25To35Ratio":100,"From35To45Ratio":0,"From45To55Ratio":0,"From55To65Ratio":0,"From65To120Ratio":0}

In this example, it's a real-time counting, and we can observe that it's a woman between the ages of 25 and 35.

:Send SendCameraMessage done : A{"function":"on_person_in", "data": {"face_embedding": [-0.306499, -0.400574, 0.0609378, 0.0566795, 0.828747, -1.0341, 0.577345, -0.705056, 1.03297, -1.212, -0.843341, -0.0164939, -0.140676, -1.18878, 1.06498, 0.0846627, 2.06393, -0.248916, 0.0681484, 0.437818, -0.857322, -1.16519, 1.42582, 0.419998, 0.472213, -0.254767, -0.845489, -0.500347, 0.121914, 0.265024, 0.0810785, -0.400743, 0.289464, 0.137692, -0.302581, -0.0928385, -1.23424, -0.209799, 0.370947, -0.311593, 0.992129, 0.254273, -1.64301, 1.02654, 0.478558, -0.161561, -0.35652, -0.693214, 0.888192, -0.108812, -0.576618, 0.0305448, 0.598662, -0.505893, -0.497644, 0.753575, 0.707715, 0.0293826, 0.954939, 0.15898, 0.200056, 1.22932, 0.687907, -0.130217, 0.6563, -0.116407, 0.263059, 0.152717, -0.455726, -0.407607, 0.433524, -0.710334, -0.461517, -0.784522, -0.463384, 0.32113, 0.0626428, 0.0291353, -1.28554, -0.181016, -0.895617, 0.318953, -0.308743, -1.06729, 0.0228006, -0.468337, 0.600305, 0.124844, -0.353409, 0.520951, -0.0534949, -0.44663, 0.501661, -0.524165, 0.715227, 0.178862, 0.824746, -0.0817896, 0.00508673, -0.122712, -0.333944, 0.434597, 0.290216, 0.0650038, 0.251411, 1.17503, -0.390012, 1.11893, 1.85281, -0.395019, -0.830816, -1.27832, 0.492498, -0.16845, -0.30932, 1.49255, -0.0069297, -0.984222, 1.70472, 0.653419, 0.295647, 0.064731, 0.484717, -0.37259, -0.297444, 0.491874, -0.988663, -0.824942, 0.0415175, -1.10998, 0.0107762, 0.428405, 0.8643, -1.44255, 0.639969, -0.594873, 0.0863617, 1.32108, 0.569596, -0.375451, 0.247161, 1.28036, 0.463585, -0.926684, -0.729058, -0.313451, -0.810965, 1.07843, -1.13951, -0.954737, -0.419952, 0.426741, 1.1793, 0.166579, 0.473704, -1.13437, -0.369716, -0.0844914, -0.127037, 0.419468, 0.257956, 0.132392, -0.708627, 0.722429, 0.128822, -0.504301, 0.0539452, -0.22985, 1.06956, 0.298538, 1.24038, -1.10529, -0.372085, 0.14072, -0.3838, 1.08631, 1.22743, -0.12472, -0.442812, 0.47538, 0.870955, 0.207111, 0.836608, -0.488922, 0.104954, 0.833795, -0.281769, 1.63902, 0.00254366, -0.155957, -0.254216, -0.11267, 1.521, 0.0258021, 0.0468453, 0.922925, -0.804649, -0.920121, -0.649474, 0.31114, 0.335955, -0.280329, -0.350499, 0.269377, -0.333238, -0.154377, -0.248931, -1.01398, 1.35101, 0.0983191, -1.08027, -0.422403, 0.98916, 0.476607, -0.456353, 0.312593, -0.148133, 0.864877, 0.801772, 0.287817, 0.962445, -0.782254, -0.43681, 1.54501, -0.0478716, 0.340875, 0.0414312, -0.312787, -1.01629, -0.95954, -0.381372, -0.957527, 1.14375, -0.0859544, -0.252274, 0.198898, -0.734693, 0.597972, -0.34789, -0.867885, 0.504598, -1.0933, -0.279279, 0.760173, 0.29824, 0.0304473, 1.0061, 1.00121, -0.108454, 0.109827, 0.678109, -0.326041, 0.0650724, -0.146125, 0.550311, -0.105421], "in_time":"2023-08-28

-This is a message sent to the manager to notify other cameras in the same group that a person has entered the camera's field of view.(use type Length of stay)

2023-08-24 14:00:00.1371502 - [DEBUG][edge : 96] :Send Analytics done: [{"Date":"2023-08-24 13:00:00.0000000","CameraId":96,"UseTypeId":1,"Footfall":37,"Female0":1,"Female35":3,"Female45":6,"Male0":3,"Male25":4}]

Every one hour, Aquaji software sends the metrics to the server regarding detections. For instance, in a span of 1 hour we had 37 footfall, 1 female aged 0 to 25, 3 females aged 25 to 35,3 females aged 35 to 45 6 females aged 45 to 55, 3 males aged 0 to 25, and 4 males aged 25 to 35.

Here is the glossary with the vocabulary used in the logs :

Label Aquaji Manager

Key

Settings

Camera codec

camera.Codec

codec

Video feed format

camera.Fourcc

fourcc

AI detection mode

camera.DetectionMode

detection_mode

Processing mode

camera.TargetMode

target_mode

Detection interval

camera.DetectionInterval

detection_interval

Tracking

camera.DetectionMaxDelay

detection_max_delay

Face similarity

camera.FaceidSimilarityThreshold

faceid_similarity_threshold

Face similarity ID

camera.FaceidSimilarityThresholdValidForAcquisition

faceid_similarity_threshold_valid_for_acquisition

Body similarity

camera.BodyidSimilarityThreshold

bodyid_similarity_threshold

Identification time

camera.MinimumIdentificationTime

minimum_identification_time

Processing Interval

camera.ProcessingInterval

processing_interval

Tracking delay

camera.TrackingMaxDelay

tracking_max_delay

X

camera.WindowX

window_x

Y

camera.WindowY

window_y

Width

camera.WindowWidth

window_width

Height

camera.WindowHeight

window_height

Purge

camera.FlushCamBuffer

flush_cam_buffer

Continuous presence time

camera.ContinuousPresenceTime

continuous_presence_time

Blur threshold

camera.BlurThreshold

blur_threshold

Store metrics

camera.SaveData

save_data

Store footage

camera.SaveImagesForDebug

save_images_for_debug

Live preview

camera.ShowVideo

Purge embeddings

camera.EmbeddingsPurgeDays

embeddings_purge_days

Embedding storage

camera.LostEmbeddingsTimeout

lost_embeddings_timeout

Multithreading

camera.Multithreading

multithreading

Face ID accuracy

camera.MinimumConfidenceFace

minimum_confidence_face

Body ID accuracy

camera.MinimumConfidenceBody

minimum_confidence_body

Rotation

camera.RotationWay

rotation_way

Did this answer your question?