how to read numbers

20 views (last 30 days)
Pat
Pat on 13 Sep 2011
Commented: Walter Roberson on 26 Nov 2020
I am working on video mining i.e I have converted videos into frames and ten i try to read the score card,I tried ocr but not accurate,Is there any method to do this,can anyone help plese

Answers (1)

Walter Roberson
Walter Roberson on 13 Sep 2011
How many of the hundreds of thousands of different Optical Character Recognition methods did you try?
The entire field is known as Optical Character Recognition (OCR), so any method that you used would be ocr. If you say that ocr is not accurate enough, you are saying that you have already tried the best possible method of recognizing the characters under the situation and found it lacking. Anything else you try would be another ocr method and thus, according to you, not accurate.
  2 Comments
Shuting LI
Shuting LI on 20 Nov 2020
Edited: Walter Roberson on 26 Nov 2020
I also have some problems about reading numbers in MATLAB.
The following is my script in MATLAB.
EEG = pop_runica(EEG, 'icatype', 'runica', 'extended',1,'interrupt','on','pca',setname_in7); Thia line I need to read different number according to subject parameter
sub_ch1 = [8, 8, 9, 5, 10, 7, 6, 19, 7, 2, 18, 11, 11, 9, 15, 19, 6, 16];
sub_ch2 = 127 - sub_ch1;
But I do not know how to invoke each of them when read each subject data.
Looking forward to your reply. Thank you very much.
set_numbers = [1, 3, 4, 5, 6, 7, 8, 10, 12, 13, 15, 16, 17, 18, 20, 22, 23, 26];
sub_ch1 = [8, 8, 9, 5, 10, 7, 6, 19, 7, 2, 18, 11, 11, 9, 15, 19, 6, 16];
sub_ch2 = 127 - sub_ch1;
for K = set_numbers; N = sub_ch2;
setname_in6 = sprintf('M%02d_AD1dfcr.set', K);
setname_out6 = sprintf('M%02d_AD1dfcri', K);
setname_in7 = sprintf(sub_ch2, N);
EEG.etc.eeglabvers = '2020.0'; % this tracks which version of EEGLAB is being used, you may ignore it
EEG = pop_loadset('filename', setname_in6,'filepath','C:\\EEG_OVGU\\AD1\\');
EEG = eeg_checkset( EEG );
EEG = pop_runica(EEG, 'icatype', 'runica', 'extended',1,'interrupt','on','pca',setname_in7);
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, setname_out6 );
EEG = eeg_checkset( EEG );
end
Walter Roberson
Walter Roberson on 26 Nov 2020
This does not seem to have anything to do with Optical Character Recognition. You should create a new Question for it. In that new question, you should expand on your question about what it means to you to "invoke each of them".

Sign in to comment.

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!