tr icon indicating copy to clipboard operation
tr copied to clipboard

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.3.0) /home/hgzn/share/opencv-4.3.0/modules/core/src/matrix.cpp:466: error: (-215: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 function 'Mat'

Open cenwei1234 opened this issue 2 years ago • 7 comments

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.3.0) /home/hgzn/share/opencv-4.3.0/modules/core/src/matrix.cpp:466: error: (-215: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 function 'Mat' 稳定运行一段时间,突然报这个错误,然后应用直接挂了

cenwei1234 avatar May 01 '22 09:05 cenwei1234

第一次有人报这个错误,应该可能是遇到了一些很特殊的情况,比如检测到文本框的大小是0而程序有没做异常处理导致的

myhub avatar May 02 '22 01:05 myhub

第一次有人报这个错误,应该可能是遇到了一些很特殊的情况,比如检测到文本框的大小是0而程序有没做异常处理导致的

那该怎么做呢?也不知道哪一行出的问题,准确日志如下 [I 220430 17:06:23 web:2250] 200 POST /api/tr-run/ (121.124.737.96) 686.74ms terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.3.0) /home/hgzn/share/opencv-4.3.0/modules/core/src/matrix.cpp:466: error: (-215: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 function 'Mat'

cenwei1234 avatar May 02 '22 01:05 cenwei1234

我最近隔离在家,正在开发新版本,新版本文本检测精度也是大幅度提升的,您可以关注新版本

myhub avatar May 02 '22 09:05 myhub

我最近隔离在家,正在开发新版本,新版本文本检测精度也是大幅度提升的,您可以关注新版本

好的收到,期待!如果还能识别银行卡卡号那最好了

cenwei1234 avatar May 02 '22 22:05 cenwei1234

我最近隔离在家,正在开发新版本,新版本文本检测精度也是大幅度提升的,您可以关注新版本

好的收到,期待!如果还能识别银行卡卡号那最好了

可以发几张银行卡样本给我,这个更新尽可能支持掉 [email protected]

myhub avatar May 03 '22 00:05 myhub

我最近隔离在家,正在开发新版本,新版本文本检测精度也是大幅度提升的,您可以关注新版本

好的收到,期待!如果还能识别银行卡卡号那最好了

可以发几张银行卡样本给我,这个更新尽可能支持掉 [email protected]

好的收到,已发您邮箱,请查收哦

cenwei1234 avatar May 03 '22 01:05 cenwei1234

同样的问题,什么时间能解决?

newledge avatar Mar 29 '23 07:03 newledge