Extract text from an image
81 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I want to extract text from this image. I used colour thresholder app to extract text of same colour but in this case the texts are of different colours. Could somebody please help? Thanks!
Antworten (1)
Ayush
am 14 Mär. 2024
Bearbeitet: Dyuman Joshi
am 15 Mär. 2024
Hey Merin,
I understand you are looking to extract text from the given image.
You can use the "ocr" function in the following way to achieve this in MATLAB:
img = imread("thumbnail_5.jpg");
imshow(img)
ocrResults = ocr(img)
ocrResults.Text
The variable "ocrResults" will contain all the text extracted from the image.
For further details on the "ocr" function,you can refer the MathWorks documentation page at: https://in.mathworks.com/help/vision/ref/ocrtext.html
Hope this helps!
3 Kommentare
Ayush
am 15 Mär. 2024
In that case, knowing what exact text needs to be extracted from the image might be more helpful.
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!