How use rk mpp for Yolo detector ? Is efficient?

Hello!
Help me solve the problem, please. I want to run yolo detection on rockchip 3588. Do I understand correctly that for fast algorithms to work, I need to use MPP instead of opencv cv::Videowriter? I tried to implement it based on mpp decoder examples, but I always run into problems. I have 2 questions:

  1. Is MPP really more efficient than cv::Videowriter?
  2. Maybe there is a more correct example with MPP decoder for Yolo?

@AshRoth You can try to use gstreamer backend when using opencv, it has mpp implementation.
As well please try to use h265 encoding, h264 has some issues at the moment

Is it possible to not use opencv at all?

Does it make sense to spend time on MPP?

Thanks.

Is there a good example with yolov8? stable 30 fps is enough for me

I don’t know much about the AI process, but I do know that using mpp-accelerated gstreamer and rockchip-ffmpeg can easily meet your encoding speed requirements

Hello, have example rockchip-ffmpeg?

Hi @AshRoth,
Only build tutorials