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

enhance highgui module with hardware acceleration #63

Open
7 of 10 tasks
nihui opened this issue Sep 18, 2023 · 1 comment
Open
7 of 10 tasks

enhance highgui module with hardware acceleration #63

nihui opened this issue Sep 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@nihui
Copy link
Owner

nihui commented Sep 18, 2023

cv::imread / cv::imdecode

  • jpeg on milkv-duo
  • jpeg on yuzuki-lizard
  • jpeg on tinyvision

cv::imwrite / cv::imencode

  • jpeg on milkv-duo
  • jpeg on yuzuki-lizard
  • jpeg on tinyvision
  • jpeg on luckfox-pico

cv::VideoCapture

  • v4l camera on luckfox-pico
  • v4l camera on tinyvision
  • cvi camera on milkv-duo
@nihui nihui added the enhancement New feature or request label Sep 18, 2023
@nihui nihui pinned this issue Sep 18, 2023
@nihui
Copy link
Owner Author

nihui commented Feb 14, 2024

1920x1080 jpg encoding on raspberry pi

  • software encoder: opencv + libjpeg-turbo
  • hardware encoder: v4l2-mem
  • write to /dev/null for eliminating i/o time
soc sw(ms) sw-cpu-usage(%) hw(ms) hw-cpu-usage(%)
rpib+ BCM2835 766.26 97.2 41.36 41.8
rpi2 BCM2836 185.87 100 29.92 22.4
rpi3b+ BCM2837B0 65.02 100 22.69 23.8
rpi4b BCM2711 31.81 100 14.91 16.9
rpi5b BCM2712 15.83 100 n/a n/a

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

No branches or pull requests

1 participant