Open video on PYNQ-Z2, the FPS is only 5 to 10

Whether I open a video in PYNQ-Z2’s Linux terminal through C++ Opencv or python-opencv, the frame rate is only about 5 to 10, and the real-time performance is not good. How to improve FPS? It is best to increase the FPS by C++ Opencv. I will deploy the target detection model to PYNQ-Z2 later. The project is also written in C++. The model work has been completed. Currently I want to increase the FPS of the video to make the display better.

You need to develop the hardware accelerator kernels and hook that up with the video pipeline. If you only stay with software functions then there is little hope improving it.