cqu20160901 / yolov8_rknn_Cplusplus

yolov8 瑞芯微 rknn 板端 C++部署。
BSD 3-Clause "New" or "Revised" License
95 stars 17 forks source link

cv::imread open test.jpg fail! #10

Open Liablbility opened 3 months ago

Liablbility commented 3 months ago

shortly
Read /home/firefly/Documents/Yolov8pose/rknn_yolov8pose_demo_cpp/test.jpg ... cv::imread /home/firefly/Documents/Yolov8pose/rknn_yolov8pose_demo_cpp/test.jpg fail!

my cross-compiler-toolchain is the rknn official rk3588 toolchain https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz

to be more specific (base) firefly@firefly:~/Documents/YoloV8Pose/rknn_yolov8pose_demo_cpp$ ldd ./rknn_yolov8pose_demo linux-vdso.so.1 (0x0000007fb183f000) librknnrt.so => lib/librknnrt.so (0x0000007fb1497000) librga.so => lib/librga.so (0x0000007fb146a000) libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fb1443000) libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007fb1412000) librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007fb13fa000) libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007fb1215000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fb116a000) libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007fb1146000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fb0fd3000) /lib/ld-linux-aarch64.so.1 (0x0000007fb180f000) (base) firefly@firefly:~/Documents/YoloV8Pose/rknn_yolov8pose_demo_cpp$ ./rknn_yolov8pose_demo

General configuration for OpenCV 3.4.5 ===================================== Version control: 3.4.5-dirty

Platform: Timestamp: 2020-07-16T11:33:01Z Host: Linux 4.15.0-108-generic x86_64 Target: Linux arm CMake: 3.15.4 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release

CPU/HW features: Baseline: NEON FP16 requested: DETECT required: NEON disabled: VFPV3

C/C++: Built as dynamic libs?: NO C++11: YES C++ Compiler: /data/chifred/VIP8000/rk1808_kernel/rk1808_zht/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ (ver 6.3.1) C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG C Compiler: /data/chifred/VIP8000/rk1808_kernel/rk1808_zht/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG Linker flags (Release):
Linker flags (Debug):
ccache: NO Precompiled headers: NO Extra dependencies: dl m pthread rt 3rdparty dependencies: zlib libjpeg-turbo libwebp libpng libtiff libjasper IlmImf tegra_hal

OpenCV modules: To be built: calib3d core features2d imgcodecs imgproc video Disabled: world Disabled by dependency: dnn flann highgui java_bindings_generator ml objdetect photo python_bindings_generator shape stitching superres ts videoio videostab Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java js python2 python3 viz Applications: apps Documentation: NO Non-free algorithms: NO

GUI: GTK+: NO

Media I/O: ZLib: zlib (ver 1.2.11) JPEG: libjpeg-turbo (ver 1.5.3-62) WEBP: build (ver encoder: 0x020e) PNG: build (ver 1.6.35) TIFF: build (ver 42 - 4.0.9) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) HDR: YES SUNRASTER: YES PXM: YES

Video I/O: DC1394: NO FFMPEG: NO avcodec: NO avformat: NO avutil: NO swscale: NO avresample: NO GStreamer: NO libv4l/libv4l2: NO v4l/v4l2: linux/videodev2.h

Parallel framework: pthreads

Trace: YES (built-in)

Other third-party libraries: Lapack: NO Custom HAL: YES (carotene (ver 0.0.1)) Protobuf: build (3.5.1)

Python (for build): /usr/bin/python2.7

Install to: /data/chifred/git/UtilsLib/opencv/aarch64_install

Read /home/firefly/Documents/Yolov8pose/rknn_yolov8pose_demo_cpp/test.jpg ... cv::imread /home/firefly/Documents/Yolov8pose/rknn_yolov8pose_demo_cpp/test.jpg fail!