Modify rkipc default application

  • babykajima wrote: 2024-11-05 9:29 I’m using the Luckfox Pico Pro with a camera, and with the default app (rkipc),it returns bounding boxes around faces, human bodies, hand,...
    In luckfox-pico repository, i found an app path: luckfox-pico\project\app\rkipc\rkipc\src\rv1106_ipc\

    1. Is there a way to train or modify this app to change its detection ?
    2. Is it possible to use the bounding boxes from rkipc as an API to get the positions of objects?
    (The reason is that I need to avoid using custom AI models due to project requirements.)

    Thank you for reading !
    Hello, I think you can take a look at this wiki of ours should help you: https://wiki.luckfox.com/zh/Luckfox-Pic ... 4%B8%8A%E6% 89%A7%E8%A1%8C
  • Have you tried compiling the rkipc?

    I've tried to compile rkipc as a standalone project. I suspect the issue might be due to some header files from the "media" directory not being correctly included in the project when building rkipc standalone. I'm encountering issues and haven't been successful so far.

    Try to compile:

    Code: Select all

    (base) root@cf4f4e7f4149:~/luckfox-pico-main/project/app/rkipc/rkipc# mkdir build
    (base) root@cf4f4e7f4149:~/luckfox-pico-main/project/app/rkipc/rkipc# cd build
    (base) root@cf4f4e7f4149:~/luckfox-pico-main/project/app/rkipc/rkipc/build# cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPILE_FOR_RV1103_IPC=ON ..
    -- The C compiler identification is GNU 13.2.0
    -- The CXX compiler identification is GNU 13.2.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- CMAKE_BUILD_TYPE is Debug
    -- Configuring done (0.6s)
    -- Generating done (0.0s)
    -- Build files have been written to: /root/luckfox-pico-main/project/app/rkipc/rkipc/build
    (base) root@cf4f4e7f4149:~/luckfox-pico-main/project/app/rkipc/rkipc/build# make
    [  3%] Building C object src/rv1103_ipc/CMakeFiles/rkipc.dir/main.c.o
    In file included from /root/luckfox-pico-main/project/app/rkipc/rkipc/src/rv1103_ipc/main.c:14:
    /root/luckfox-pico-main/project/app/rkipc/rkipc/common/storage/storage.h:24:10: fatal error: rkmuxer.h: No such file or directory
       24 | #include "rkmuxer.h"
          |          ^~~~~~~~~~~
    compilation terminated.
    make[2]: *** [src/rv1103_ipc/CMakeFiles/rkipc.dir/build.make:76: src/rv1103_ipc/CMakeFiles/rkipc.dir/main.c.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:98: src/rv1103_ipc/CMakeFiles/rkipc.dir/all] Error 2
    make: *** [Makefile:136: all] Error 2
    (base) root@cf4f4e7f4149:~/luckfox-pico-main/project/app/rkipc/rkipc/build#
    Any advice on managing dependencies and configuration files would be greatly appreciated.
  • Hello, the face recognition in rkipc is implemented by rockiva. According to the introduction of the relevant documents, complete use requires authorization on the device and the model does not seem to be replaceable. The maintenance of the relevant source code has always been the responsibility of Rockchip. This is relevant. Documentation (unfortunately there is no Chinese version, you can use translation software to understand).
    If you need to align secondary development to depend on the software library in SDK/media during compilation, you can execute ./build.sh app in the root directory of the SDK to compile, which can save you a lot of adjustments to library dependencies.
    Attachments
    Downloaded 60 times