Traces FAF API accepts both videos and frames as input. Below you may find general recommendations for each data type.
How to sample frames for a motion event?
Correct frame selection is an important factor for getting the most accurate results.
The advice may vary for every use-case individually, so it is best to talk to Traces Account Manager to schedule a demo.
Below you may find a general recommendation for frames sampling.
Traces AI FAF accepts any number of frames. Even as little as 5 frames are usually enough to receive accurate results.
For motion events that are 10 - 15 seconds long, it is recommended to split a video equally into 4 chunks and take the first frame of each chuck and the last frame from the last chunk as shown on a diagram.
For example, given a 10 seconds long motion event with 12 fps, it is best to sample
frame #90, and
and send it to Traces FAF as fields "image_0", "image_1", "image_2", "image_3", and "image_4" respectively.
Recommendations for videos
Traces AI accepts .mp4, .m4v, .avi video formats.
A general recommendation is to send a video 10-20 seconds long. It is advisable to avoid sending videos over 30 seconds long as it may cause a long response time.
Cameras ID & Cameras Location
All motion events that are coming from the same camera should have the same scenery. Changing camera location and using the same Cameras ID will reset the AI auto training progress.