필터 지우기
필터 지우기

how to read a text from a image file.

조회 수: 14 (최근 30일)
Ayushi Saxena
Ayushi Saxena 2016년 2월 29일
답변: Sagar Hukkire 2021년 1월 7일
I have a scanned document & I want to extract the text from it & wanted to store the same in some text file... I have no clue how to start this. would be grateful if anyone could help me on this..
Please suggest me is there any way to convert an image file into a text file. Moreover I want to do this without using image processing toolbox.

답변 (2개)

Walter Roberson
Walter Roberson 2016년 2월 29일
ocr() from the Computer Vision toolbox.
  댓글 수: 3
Ayushi Saxena
Ayushi Saxena 2016년 2월 29일
Moreover when I check for pixel intensities I am getting 255 for all pixels.
Walter Roberson
Walter Roberson 2016년 2월 29일
I have not been able to determine why you are doing all of this.
If you are a student working on a student project, then your Student Version license covers Computer Vision and Image Processing toolkits, unless you went for the cheapest possible license, in which case the price for them is about $US10 each.
If you are a Home license user, then the toolkits are about $US45 each.
If you are working on a Professional / Commercial license, then although the cost of the toolboxes is much more, you should take into account the cost of your time to write good OCR functionality. OCR is something that people have been working on for decades -- the Post Office was working on OCR in the 1970s for example. OCR is not easy to do well. It will take many many hours of your time to implement, after having spent many many hours researching OCR papers and books (1.2 million hits in Google Scholar I think it was.)
I do not recommend implementing OCR yourself. Buy the functionality. Or buy third-party software that you can invoke on scanned images to do the OCR. Or look for already implemented OCR in C++ or in Java. It is not worth the effort to do it yourself.

댓글을 달려면 로그인하십시오.


Sagar Hukkire
Sagar Hukkire 2021년 1월 7일
Hi Ayushi
This is exactly you are looking I guess ( to get text from scan pdf). Please let us know if you need further help on it
Thanks
Sagar

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by