I am currently trying to run the sample found under zed/samples/object detection/custom detector/cpp/tensorrt_yolov8_seg_onnx. I can get the project to build and technically run, but when feeding my own custom yolo engine file and SVO2 using the command
./yolov8_seg_onnx_zed ~/path/to/engine/test.engine /path/to/svo/file/test.svo2
I get the following error:
terminate called after throwing an instance of ‘cv::Exception’
what(): OpenCV(4.10.0) /home/platform/BuildAgent/work/97aefb3cee87354b/src/opencv/modules/core/src/matrix_expressions.cpp:24: error: (-5:Bad argument) Matrix operand is an empty matrix. in function ‘checkOperandsExist’
Note, I am running this on WSL. I can get tensorrt_yolov5-v6-v8_onnx to build and run through WSL, but not the segmentation version.