Hi all,
I am trying to use an camera rtsp as an input for opencv to get the camera stream and run an object detection model on that but not finding open cv compatible libraries for my RV1106, does anyone knows where can i find it, or any similar projects
Please help
Topics = OPEN CV
Open cv support for luckfox pico ultra w with RV 1106
Hello, the performance of RV1106 is limited and the experience of running native OpenCV is very poor. If the received RTSP stream is not raw, video decoding is required. RV1106 also does not have a hardware decoder, which will further reduce the system's smoothness. It is uncertain whether RV1106 still has sufficient resources to run object detection under these two high-load tasks. It is strongly not recommended to apply RV1106 to the scenario of an object detection server.
thanks @crocodile for the reply
currently I am using the cross-compilation approach, I have cross compiled opencv also for luckfox pico, when i run it on pico it is not able to read due to lack of ffmpeg, I am trying to cross compile opencv with ffmpeg but it is happenning, am i doing something wrong
==========
cmake ../opencv \
-DCMAKE_TOOLCHAIN_FILE=../luckfox.toolchain.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=install \
-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules \
-DWITH_FFMPEG=ON \
-DWITH_V4L=ON \
-DCMAKE_PREFIX_PATH=/home/docketrun/Downloads/test1/ffmpeg-build \
-DCMAKE_LIBRARY_PATH=/home/docketrun/Downloads/test1/ffmpeg-build/lib \
-DCMAKE_INCLUDE_PATH=/home/docketrun/Downloads/test1/ffmpeg-build/include \
-DBUILD_TESTS=OFF \
-DBUILD_PERF_TESTS=OFF \
-DBUILD_opencv_python=OFF
-DFFMPEG_INCLUDE_DIRS=/home/docketrun/Downloads/test1/ffmpeg-build/include
-DFFMPEG_LIBRARIES="/full/path/to/libavcodec.so;/full/path/to/libavformat.so;/full/path/to/libavutil.so;/full/path/to/libswscale.so"
==========
output ==== pls find in attachment.
====== any documentation on how to cross compile opencv with full support or cross-compiled opencv which i can download.
currently I am using the cross-compilation approach, I have cross compiled opencv also for luckfox pico, when i run it on pico it is not able to read due to lack of ffmpeg, I am trying to cross compile opencv with ffmpeg but it is happenning, am i doing something wrong
==========
cmake ../opencv \
-DCMAKE_TOOLCHAIN_FILE=../luckfox.toolchain.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=install \
-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules \
-DWITH_FFMPEG=ON \
-DWITH_V4L=ON \
-DCMAKE_PREFIX_PATH=/home/docketrun/Downloads/test1/ffmpeg-build \
-DCMAKE_LIBRARY_PATH=/home/docketrun/Downloads/test1/ffmpeg-build/lib \
-DCMAKE_INCLUDE_PATH=/home/docketrun/Downloads/test1/ffmpeg-build/include \
-DBUILD_TESTS=OFF \
-DBUILD_PERF_TESTS=OFF \
-DBUILD_opencv_python=OFF
-DFFMPEG_INCLUDE_DIRS=/home/docketrun/Downloads/test1/ffmpeg-build/include
-DFFMPEG_LIBRARIES="/full/path/to/libavcodec.so;/full/path/to/libavformat.so;/full/path/to/libavutil.so;/full/path/to/libswscale.so"
==========
output ==== pls find in attachment.
====== any documentation on how to cross compile opencv with full support or cross-compiled opencv which i can download.
Regarding the compilation issues on OpenCV and the software dependency problems during the running process, it is recommended that you seek help from the OpenCV community. I have no relevant usage experience.
Other than opencv is their any other way I can use rtsp with luckfox pico
any documentation to use rtsp feed with luckfox pico
any documentation to use rtsp feed with luckfox pico
There are relevant articles on our wiki about pushing RTSP H264 streams using RV1106: https://wiki.luckfox.com/Luckfox-Pico/L ... PI-example. As for pulling RTSP stream resources with RV1106, we have no development plans in this regard.