FastCV example for Voxl2
-
I'm trying to use the dsp to accelerate my computer vision application. There is a basic example for FastCV on the adsp for Voxl1 at https://docs.modalai.com/build-environments/#how-to-build-for-dsp, but there aren't any examples for the rb5/m0054 adsp. I tried building the example anyways with the voxl-hexagon docker from the qrb5165 branch, which didn't work. Is there some resources I haven't found yet, or is adsp support somewhere on the roadmap for voxl2? Thanks.
-
FastCV runs on the CPU and can access the DSP itself. You can try to download and run what Qualcomm has on their website here
We have not developed tutorials for how to use the cDSP on VOXL 2. We do hope to in the future.
-
I got it to work in a voxl-cross-template based project build in the voxl-cross docker by downloading from this submenu instead of the big advertised linux installer tab (which is exclusively for android builds).
All that was then needed to include it was to expand target_list_libraries to include fastcv and DL libs:
target_link_libraries(${TARGET} pthread ${MODAL_JSON} ${MODAL_PIPE} ${VOXL_CUTILS} ${OpenCV_LIBS} ${CMAKE_SOURCE_DIR}/include/libfastcv.a ${CMAKE_DL_LIBS} )
Thank you for the assistance.
-
Outstanding!