# Clarity on Settings (drop-frame-interval and interval)

I’m having trouble understanding the relationship between some of the settings such as [source]drop-frame-interval and [primary-gie]interval. I understand that a drop-frame-interval=3 means that frames 1 and 2 get dropped and frame 3 gets sent to the engine, and I understand that interval=10 means that only the 10th frame gets inferenced.

However, does interval=10 get processed after drop-frame-interval or independantly?

Example
drop-frame-interval = 3
interval = 10

Frame 1: dropped
Frame 2: dropped
Frame 3: batched (tracking)
Frame 4: dropped
Frame 5: dropped
Frame 6: batched (tracking)
Frame 7: dropped
Frame 8: dropped
Frame 9: batched (tracking)
Frame 10: inferencing (10th frame)
Frame 11: dropped
Frame 12: dropped
Frame 13: batched (tracking)
Frame 14: dropped
Frame 15: dropped
Frame 16: batched (tracking)
Frame 17: dropped
Frame 18: dropped
Frame 19: batched (tracking)
Frame 20: inferencing (10th frame)

Or does it work like this:

Frame 1,2: dropped
Frame 3: batched (tracking) (count 1 for inferencing)
Frame 4,5: dropped
Frame 6: batched (tracking) (count 2 for inferencing)
Frame 7,8: dropped
Frame 9: batched (tracking) (count 3 for inferencing)
Frame 10,11: dropped
Frame 12: batched (tracking) (count 4 for inferencing)
Frame 13,14: dropped
Frame 15: batched (tracking) (count 5 for inferencing)
Frame 16,17: dropped
Frame 18: batched (tracking) (count 6 for inferencing)
Frame 19,20: dropped
Frame 21: batched (tracking) (count 7 for inferencing)
Frame 22,23: dropped
Frame 24: batched (tracking) (count 8 for inferencing)
Frame 25,26: dropped
Frame 27: batched (tracking) (count 9 for inferencing)
Frame 28,29: dropped
Frame 30: inferencing on 10th batched frame

Hi,
It works as the second flow:

``````Frame 1,2: dropped
Frame 3: batched (tracking) (count 1 for inferencing)
Frame 4,5: dropped
Frame 6: batched (tracking) (count 2 for inferencing)
Frame 7,8: dropped
Frame 9: batched (tracking) (count 3 for inferencing)
Frame 10,11: dropped
Frame 12: batched (tracking) (count 4 for inferencing)
Frame 13,14: dropped
Frame 15: batched (tracking) (count 5 for inferencing)
Frame 16,17: dropped
Frame 18: batched (tracking) (count 6 for inferencing)
Frame 19,20: dropped
Frame 21: batched (tracking) (count 7 for inferencing)
Frame 22,23: dropped
Frame 24: batched (tracking) (count 8 for inferencing)
Frame 25,26: dropped
Frame 27: batched (tracking) (count 9 for inferencing)
Frame 28,29: dropped
Frame 30: inferencing on 10th batched frame
``````