TensorFlow_Lite_SSD_RPi_64-bits icon indicating copy to clipboard operation
TensorFlow_Lite_SSD_RPi_64-bits copied to clipboard

Only getting 9-10 FPS rate

Open zainmehdi opened this issue 5 years ago • 3 comments

Hi, First of all thank you so much for this tutorial. I followed all your steps but I am getting framerate of only 10 FPS. Can you please specify any reasons if possible. I am using RPI4B with 4GB ram.

zainmehdi avatar Jun 10 '20 02:06 zainmehdi

Most common reason for a low frame rate are:

  1. Improper installation of OpenCV (some flags during the build where not set/reset)
  2. Improper installation of TensorFlow Lite (used build_rpi_lib.sh instead of build_aarch64_lib.sh)
  3. No overclocking (we used ± 1925 MHz to get to the high FPS)
  4. Other time consuming threads (applications) are running simultaneous.

Hopefully, this might help you to find a solution.

Qengineering avatar Jun 10 '20 16:06 Qengineering

Thanks alot for your support. I will try to make sure all the above mentioned points are followed.

zainmehdi avatar Jun 11 '20 02:06 zainmehdi

I know the post is old, but I've recently experienced fps drop with this code on rpi 4 from 14-18fps to 2-8fps.

The reason was that by mistake I've connected a phone charger (with usb c) instead of my laptop charger - it seems that the power supply has to have enough ampers and that if this condition is not satisfied, rpi will still run, only the cpu frequencies will be lower.

Huxwell avatar Jan 24 '23 18:01 Huxwell