ocr differ by color

Hello,
Im searching for an algorithem to differ between digits in spasific 3 diffren colors.
(to recognize the disgit and the color).
would appriciate a reffrance to a scipt / idea.
Thanks.

Answers (1)

Try the Color Thresholder on the Apps tab of the tool ribbon.
Or see my File Exchange for color segmentation demos.
If the digits are regular alphanumeric characters then you can use the ocr() function in the Computer Vision Toolbox.
str = ocr(binaryImage);

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Asked:

on 29 Mar 2020

Commented:

on 29 Mar 2020

Community Treasure Hunt

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

Start Hunting!