自然场景文本检测工程中使用所以代码和理论

keras-图片文本识别
https://blog.csdn.net/u010379996/article/details/80797942
https://blog.csdn.net/codebay118/article/details/72630091

Tesseract—OCR图片文本识别
https://www.cnblogs.com/wzben/p/5930538.html
https://blog.csdn.net/Tang_Chuanlin/article/details/79903255

基于yolov3的自然场景文本检测pytorch版
https://github.com/chineseocr/chineseocr.git
https://github.com/chineseocr/chineseocr

自然场景文本检测
https://blog.csdn.net/wuting3680278/article/details/80445936
yolov3的darknet自然场景文本检测
https://github.com/chineseocr/chineseocr

CRNN文字识别
https://www.imooc.com/article/51482
https://blog.csdn.net/qq_14845119/article/details/78934334
https://www.cnblogs.com/demodashi/p/9582520.html
https://github.com/YoungMiao/crnn
https://blog.csdn.net/baidu_26788951/article/details/79802424
https://www.imooc.com/article/51482
https://shimo.im/docs/oDFzLoOXmYsAypwR/
https://blog.csdn.net/u013293750/article/details/73188934
https://github.com/chineseocr/chineseocr

基于caffe的CTPN+CRNN自然场景文本检测
https://blog.csdn.net/huobanjishijian/article/details/78098876
https://ptorch.com/news/158.html

tensorflow版的CTPN+CRNN自然场景文本检测
https://blog.csdn.net/wuting3680278/article/details/80445936

text-detection-ctpn
https://blog.csdn.net/weixin_41579863/article/details/79816830
https://github.com/eragonruan/text-detection-ctpn

文字检测与识别的论文综述
https://blog.csdn.net/peaceinmind/article/details/51387367
https://zhuanlan.zhihu.com/p/38655369
https://ctwdataset.github.io/
https://share.weiyun.com/50hF1Cc
https://zhuanlan.zhihu.com/p/36225390

https://ptorch.com/news/195.html
https://github.com/puqiu/chinses-ocr
https://blog.csdn.net/u011956004/article/details/79073282
https://github.com/eragonruan/text-detection-ctpn
https://github.com/solivr/tf-crnn
https://blog.csdn.net/u013293750/article/details/73188934
https://blog.csdn.net/baidu_26788951/article/details/79802424
https://blog.csdn.net/slade_ruan/article/details/78301842
https://github.com/eragonruan/text-detection-ctpn
https://github.com/solivr/tf-crnn/blob/master/README.md
https://blog.csdn.net/qq_14845119/article/details/78934334
http://python.jobbole.com/87509/

(最重要的几个)
https://blog.csdn.net/lipc_/article/details/80812258
https://github.com/YoungMiao/crnn
https://blog.csdn.net/baidu_26788951/article/details/79802424

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是基于MSER算法的场景文本检测的Matlab代码: ```matlab % 读取图像 img = imread('test.jpg'); % 将RGB图像转换为灰度图像 gray = rgb2gray(img); % 计算图像MSER区域 [mserRegions, mserConnComp] = detectMSERFeatures(gray, 'RegionAreaRange', [200 8000], 'ThresholdDelta', 4); % 显示MSER区域 figure; imshow(img); hold on; plot(mserRegions, 'showPixelList', true, 'showEllipses', false); title('MSER Regions'); % 计算MSER区域的凸包 mserStats = regionprops(mserConnComp, 'BoundingBox'); bbox = vertcat(mserStats.BoundingBox); % 对凸包进行非最大抑制 bbox = applyNonMaximaSuppression(bbox, 0.5); % 显示检测到的文本区域 figure; imshow(img); hold on; for i=1:size(bbox,1) rectangle('Position', bbox(i,:), 'EdgeColor', 'g', 'LineWidth', 2); end title('Text Detection Result'); % 非最大抑制函数 function [result] = applyNonMaximaSuppression(bbox, overlapThresh) % 计算凸包的面积 area = bbox(:,3) .* bbox(:,4); % 对凸包按照面积降序排序 [~, idxs] = sort(area, 'descend'); bbox = bbox(idxs,:); % 计算重叠区域的IOU值 result = []; while size(bbox, 1) > 0 % 取出当前凸包列表的第一个 current = bbox(1,:); result = [result; current]; bbox(1,:) = []; % 计算当前凸包与其他凸包的IOU值 overlap = bboxIntersectionOverUnion(current, bbox); % 找到IOU值小于阈值的凸包,并从列表删除 idx = find(overlap <= overlapThresh); bbox(idx,:) = []; end end % 计算凸包之间的IOU值 function [overlap] = bboxIntersectionOverUnion(bbox1, bbox2) % 计算两个凸包的交集和并集 intersectionArea = rectint(bbox1, bbox2); bbox1Area = bbox1(:,3) .* bbox1(:,4); bbox2Area = bbox2(:,3) .* bbox2(:,4); unionArea = bbox1Area + bbox2Area - intersectionArea; % 计算IOU值 overlap = intersectionArea ./ unionArea; end ``` 这段代码实现了以下步骤: 1. 读取图像并转换为灰度图像。 2. 使用MSER算法计算图像的MSER区域。 3. 显示MSER区域和检测到的文本区域。 4. 实现非最大抑制函数来对检测到的文本区域进行过滤,保留重叠面积较小的文本区域。 5. 实现计算两个凸包之间的IOU值的函数。 需要注意的是,该代码仅提供了基本的场景文本检测功能,对于一些复杂的场景,可能需要更加复杂的算法和处理方法来实现更好的检测效果。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值