Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6406 Discussions

FPS rate and the latency of human pose estimation demo

Lc00
Beginner
1,386 Views

I am trying to get the fps rate for the demo video. In the video properties, the fps is 30 frames/second but the FPS rate shown in the command prompt is 5.3.

Command Prompt:

Lc00_0-1646300574007.png

Video Properties:

Lc00_1-1646300648225.png

Actually how the latency is calculated for the human pose estimation demo? How does the tsize function work?

 

 

0 Kudos
1 Solution
IntelSupport
Community Manager
1,117 Views

Hi Lc00,

 

You are right. There is a certain limit and it depends on the hardware specification inference engine. The result is expected based on hardware configuration and model layer framework. As you can see on the Benchmark Result documentation, our validation depends on specified hardware.

 

To obtain high FPS, I would suggest utilizing accelerators such as GPU or other high-end-based applications.

 

 

Regards,

Aznie 


View solution in original post

6 Replies
IntelSupport
Community Manager
1,358 Views

Hi Lc00,

 

Thanks for reaching out to us.

 

Can you share which model you are using when running the demo?

 

Meanwhile, latency measures the inference time (ms) required to process a single input. For batch input, we measure throughput (frames per second, FPS). Check out this What Is Performance documentation for the calculation of the FPS.

 

Apart from that, the model used also affects the FPS value. You can refer to Intel® Distribution of OpenVINO™ toolkit Benchmark Results for more information.

 

 Tsize argument refers to the target input size. By default, it depends on the input shape from the IR file that you use. I ran the same demo and from my observation, the FPS is always changing depending on the target size from the input video and IR file. Since the output of the demo is in OpenPose-like nets, the input image size from the video will be resized to the predefined height, which is the target size.

 

See the result below:

latency.pnghuman-pose-estimation.png

 

 

Regards,

Aznie

 

0 Kudos
Lc00
Beginner
1,338 Views

Thank for the information above.

 

I'm using human-pose-estimation-0006. 

Output:

Lc00_4-1646385916619.png
Lc00_3-1646385889400.png

 

 

 

 

0 Kudos
IntelSupport
Community Manager
1,292 Views

Hi Lc00,

 

I rerun the demo with the human-pose-estimation-0006 model and observe the same behaviors with the output.

See the result below:

0006.png

result_0006.JPG

Meanwhile, my previous output is using human-pose-estimation-0005 model. In addition, I have validated all the supported models with the demo. From my observation, I would say that human-pose-estimation-0005 model gives the nearest/exact FPS value to be compared with the FPS from the original input video.

 

Regards,

Aznie

 

0 Kudos
Lc00
Beginner
1,260 Views

Hi,

 

I have tried the human-pose-estimation-0005 model but the FPS is not 30 frames/second. The highest FPS I can get is 13.1. Is there have any limit?

Lc00_3-1646717839097.png

Lc00_2-1646717774524.png

 

 

 

 

0 Kudos
IntelSupport
Community Manager
1,118 Views

Hi Lc00,

 

You are right. There is a certain limit and it depends on the hardware specification inference engine. The result is expected based on hardware configuration and model layer framework. As you can see on the Benchmark Result documentation, our validation depends on specified hardware.

 

To obtain high FPS, I would suggest utilizing accelerators such as GPU or other high-end-based applications.

 

 

Regards,

Aznie 


IntelSupport
Community Manager
1,060 Views

Hi Lc00,


This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.


Regards,

Aznie


0 Kudos
Reply