Deepstream-app change the interval of primary-gie

Hello all,

I use Jetson AGX Xavier and deepstream-5.0.

I have one camera whose FPS is 22.

I did following tests.

Configuration file set measurement parameters.

[application]

enable-perf-measurement=1

perf-measurement-interval-sec=5

Let deepstream-app show FPS.

<<Case 1 >>

The interval of primary-gie set 0.

The deepstream-app show FPS 22.

<<Case 2>>

The interval of primary-gie set 1.

The deepstream-app also show FPS 22.

I have problem about case 2.

“Number of consecutive batches to skip for inference” is the define of interval.

Does it mean only 11 frame for inference when interval 1?

Why the FPS is 22 about case 2?

Best regards

-Jason

Hi,
Sorry for a late reply,
trying to do some test, btw, you could refer to this topic, Low camera frame rate
hope you could have some findings. and will update once progress.

Hi Amycao,

Thank you about your reply.
It didn’t contain “interval” discussion in “Low camera frame rate”.
I hope to get your answer after your testing.

Best regards

-Jason

How about FPS without nvinfer?

Hi Amycao,

Following your suggestion (without nvinfer).
I disable primary-gie as follow
[primary-gie]
enable=0

I got FPS 22.

Best regards

-Jason

How about your camera format?

Hi Amycao,

Following is camera information.
On Semi AR0231 CMOS sensor camera; 1280x720 @22fps; HFOV 61

Best Regards

-Jason

Hi Amycao,

My camera AR0231 output UYVY format.

Best regards

-Jason

Then you can refer to topic Low camera frame rate, which also use UYVY format, it have solution there.

Hi Amycao,

It didn’t contain “interval” discussion in “Low camera frame rate”.
I repeat my question again.

<<case 2>>
The interval of primary-gie set 1.

[primary-gie]
enable=1
gpu-id=0
#model-engine-file=model_b1_int8.engine
labelfile-path=labels.txt
batch-size=1
#Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=1
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary_yoloV3.txt

The deepstream-app also show FPS 22.
I have problem about case 2.
“Number of consecutive batches to skip for inference” is the define of interval.
Does it mean only max 11 frame for inference when interval 1?
Why the FPS is 22 about case 2?

Best regards

-Jason

Are you asking about how many frames inferenced when infer property interval set to 1? if yes, when fps is 22, the inferenced frames is 11.

Hi Amycao,

You answered the answer I want to know.

Best regards

-Jason