Need some hints, thanks a lot!

  • You can refer to this link https://wiki.luckfox.com/zh/Luckfox-Pic ... E4% BE% 8B. Although RKNN Model Zoo does not directly support MP4 video files, you can use the RKNN model to infer each frame of the image to generate MP4 inference results
  • Thanks for your reply.
    But I'm a little confuse at this step.
    The tutorial says to install everything (toolkit2、model_zoo) and convert a model to rknn format in Ubuntu at the PC (done), then send it to the board which has not install anything but only burning image create by the luckfox-pico sdk, how can the board import rknn.api?
  • Because the generated file contains libraries related to dynamic links, which include the corresponding RKNN API, it seems that the cpp file runs like this after cross compilation.
    Snipaste_2025-01-16_14-01-36.png
    However, the python file has not been tested yet, and it is possible that the related dependency libraries have not been installed in the development board.
  • I see
    So I can just simply run the cpp file generate by model_zoo from my PC on the board by using cmake, since the library is included in the output file of the model_zoo, did I get it right? Cause I have found the librknnmt.so in my /usr/lib/
    No need to activate the rknpu2 or something else. (restart_rknn.sh)
    Last edited by Wei on 2025-01-16 7:19, edited 1 time in total.
  • The librknnmt.so library file contains the necessary functions for interacting with NPU.