Show camera framerate

We are trying to preview multi camera with showing camera frame rate by following below web.
However, the cv2.VideoCapture does not accept fpsdisplaysink plug.
And could not find a way to get the frames correctly.

Appreciate anyone could share a way to do it.

For some reasons, our customer did not expect to use deepstream.

Thank you for any advice,

How about gst-launch-1.0 with the fpsdisplaysink? Otherwise may need to calculate it by yourself.

Hi ShaneCCC,

Thank you for your prompt support.
gst-launch-1.0 with fpsdisplaysink works.
However, our customer expected to see the demo with an AP.
We may need to calculate it.