Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

OCR command is not detecting certain terms

1 visualización (últimos 30 días)
Soumya Panda
Soumya Panda el 3 de Oct. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hey guys, I tried to use the OCR command upon this image in order to identify text here. But OCR is not identifying SHERPA SURF SCHOOL. It is only able to identify the regions in RED. I guess it is because of the colour disparity amognst red and black layers.Any help in this regard would be deeply appreciated !!!

Respuestas (1)

Image Analyst
Image Analyst el 3 de Oct. de 2015
First extract the separate color channels,
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
threshold each one for white,
binaryR = redChannel > 200; % Or whatever value works
binaryG = greenChannel > 200; % Or whatever value works
binaryB = blueChannel > 200; % Or whatever value works
then AND the three binary images together.
finalImage = binaryR & binaryG & binaryB;
Now do the OCR.
or

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by