terminate called after throwing an instance of ‘cv::Exception’
what(): OpenCV(3.4.16) /home/alxe/opencv-3.4.16/modules/core/include/opencv2/core/utils/buffer_area.private.hpp:70: error: (-215:Assertion failed) count > 0 in function ‘allocate’
已放弃 (核心已转储)
这个问题经常是图片路径错误造成的,修改程序中图片或文件的路径即可