Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only getting 9-10 FPS rate #1

Open
zainmehdi opened this issue Jun 10, 2020 · 3 comments
Open

Only getting 9-10 FPS rate #1

zainmehdi opened this issue Jun 10, 2020 · 3 comments

Comments

@zainmehdi
Copy link

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.

@Qengineering
Copy link
Owner

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.

@zainmehdi
Copy link
Author

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

@Huxwell
Copy link

Huxwell commented Jan 24, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants