ocr differ by color
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2020-3-29
Try the Color Thresholder on the Apps tab of the tool ribbon.
If the digits are regular alphanumeric characters then you can use the ocr() function in the Computer Vision Toolbox.
str = ocr(binaryImage);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!