首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >基于CBIR和OCR的图像比较

基于CBIR和OCR的图像比较
EN

Stack Overflow用户
提问于 2015-08-31 05:01:48
回答 1查看 135关注 0票数 1

负责从给定图像检索内容的项目,并与存储库中的其他图像进行比较,并列出匹配的图像。

什么应该是正确的方法去做它,这样搜索最终不会放缓。

作为第一层过滤,我计划做的是使用任何图像查询(CBIR技术)来检索与给定图像模式匹配的图像。然后执行OCR以获取图像内容并进行匹配检查。

如果有更好的方法,请告诉我。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-10-08 14:13:04

步骤已完成

软件1. Tesseract OCR 2.图像Magick -用于图像清理3. Text吸尘器脚本

  1. 利用图像Magick软件找出图像方向
代码语言:javascript
复制
- Convert package has a feature to find the image orientation using the EXIF data which is not that useful.
- For this image was rotated 90 degree thrice and the ocr data for each was compared with the other to find the correct orientation. ( image with maximum number of words wins)

  1. OCRed图像获取文本,并应用过滤获得账单编号、日期和金额。
代码语言:javascript
复制
- on success stores the details on DB for future search
- on failure   
    - Created 10 different images with different filters (gray scale mode and sharpment applied)
    - OCRed all images and found out the required data form all the data got.

  1. 保存的数据用于将来的搜索功能,以消除重复。
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32304261

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档