Hello,
I have read the other posts and examples for printing your OCR results into a text file but am running into an error.
Error using fprintfFunction is not defined for 'cell' inputs.Error in REMOVEDallEXTRAbits (line 142)fprintf(fileID, '%s\r\n', text);
ocrtxt = ocr(BW2, textBBoxes, 'Language', 'C:\Users\e362609\Documents\MATLAB\Examples\vision\TextDetectionExample\try50\tessdata\try50.traineddata');% [ocrtxt.Text];
fileID = fopen('trytext.txt');fprintf(fileID, '%s\r\n', text);fclose(fileID);
Any help is much apreciated!
Best Answer