Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

MATLAB Program to find text from an Image

Code:

clc

clear all

close all

x = input('What would you want to detect:','s');

str = x;  

Samplepicture = imread('text.jpg');       

ocrResults = ocr(Samplepicture);   

bboxes = locateText(ocrResults, str, 'IgnoreCase', true);

Iocr = insertShape(Samplepicture, 'FilledRectangle', bboxes);

figure; imshow(Iocr);

 





Join us on Telegram: https://t.me/matlabcastor

No comments

Popular Posts

Followers