Question about Tutorial "Object Detection"

Description

I was trying to run the objection detection tutorial code. However, I was always having the same output for each grabbed image, as follows:

OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /builds/sl/ZEDKit/lib/src/sl_core/opencv/core/matrix.cpp, line 508
Error /builds/sl/ZEDKit/lib/src/sl_core/opencv/core/matrix.cpp:508: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function Mat
detect 
0 Object(s) detected

Is this one of those expected outputs? If not, how can I fix the issue? Many Thanks!

Setup:

OS: Ubuntu 18.04
Camera: ZED 2i
ZED SDK Version: 3.6.1
CUDA: 10.2
OpenCV Installed under “/usr/lib/x86_64-linux-gnu/”: 3.2 (I guess the OpenCV used by ZED SDK is different from this)