How to detect & localize a text in pdf using OCR in MATLAB

版本 1.0.3 (547.3 KB) 作者: Kevin Chng
Using Python package - pdf2image convert the the pdf to image Using OCR in MATLAB to detect & localize the text
282.0 次下载
更新时间 2019/7/16

查看许可证

Using OCR to detect and localize text is simple in MATLAB. However, it is only workable if your input is image format (jpg,png) but not pdf. Hence, we are going to convert the pdf to image. However, up to MATLAB version R2019a, It don't have any built-in function to convert pdf to image. For this example, i am going to use a python package pdf2image help us to convert pdf to image. There are no conflicts using MATLAB or Python. If there is something working better in Python, we can collaborate both platform (MATLAB and Python) through MATLAB Api to complete our objective.

Highlights :
Execute python user-defined function from MATLAB
Detect and Localize a text in pdf

Product Focus :
MATLAB
Computer Vision Toolbox

Written at 16 July 2019

引用格式

Kevin Chng (2024). How to detect & localize a text in pdf using OCR in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/72156-how-to-detect-localize-a-text-in-pdf-using-ocr-in-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Call Python from MATLAB 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

OCRforPDF

版本 已发布 发行说明
1.0.3

modify description

1.0.2

Change description

1.0.1

*change description

1.0.0