Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

what the error in tghis code?

1 visualizzazione (ultimi 30 giorni)
mostafa alhamdany
mostafa alhamdany il 18 Nov 2015
Chiuso: MATLAB Answer Bot il 20 Ago 2021
image1=imread('1.jpg'); image2=imread('2.jpg'); image3=imread('3.jpg'); Result1=ocr(image1); ocrText[1]=Result1.Text; Result2=ocr(image2); ocrText[2]=Result2.Text; Result3=ocr(image3); ocrText[3] = Result3.Text %disp(ocrText) [FileName,PathName] = uigetfile('*.jpg','Select an image'); inputimg = imread(strcat(PathName,FileName)); inresult = ocr(inputimg); inocrText = inresult.Text; for i=1:3 if inocrText==ocrText{i}; disp('This image is already founded'); imshow(inputimg) else disp('This image is not founded'); imshow(inputimg); end end

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by