Why can't OCR detect the text in this photo?

조회 수: 3 (최근 30일)
Alex Valente
Alex Valente 2020년 7월 17일
답변: Bjorn Gustavsson 2020년 7월 17일
I am trynig to detect all the text the attached photo. I have have use the OCR function and it can't detect it for what ever reason. I have done the traditional blur/filter, edge detect, and then OCR, as well as OCR on the original image.

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2020년 7월 17일
It seems to have something to do with automatic thresholding. If I cut out most of the black background it seems to work just fine, if too much of that black is included no characters are found. This presumably means that somewhere there's a thresholding that if theres too much proper black (or white if you take the negative of this image) the entire gray area is lumped together into a unseparated white region?
(Our vision is very good at this task, computers can still be easily fooled by things we would never fall for. On the other hand: optical illusions...)
HTH

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Language Support에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by