30 Star 331 Fork 149

alisen / TrWebOCR

 / 详情

出现了越界问题(opencv)

待办的
创建于  
2021-07-06 09:45

res = tr.run(img.copy().convert("L"), flag=tr.FLAG_ROTATED_RECT) 在执行res这句时,出现了后面的错 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'

评论 (0)

kidcad 创建了任务
kidcad 关联仓库设置为alisen/TrWebOCR
kidcad 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
Python
1
https://gitee.com/alisen39/TrWebOCR.git
git@gitee.com:alisen39/TrWebOCR.git
alisen39
TrWebOCR
TrWebOCR

搜索帮助