How can i write a code to detect the numbers and alphabets in an image?
10 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170214/image.jpeg)
3 个评论
Walter Roberson
2018-2-12
You currently have bright on one side of the box and comparative dim on the other side of the box. That makes it difficult to even find a correct bounding box to be able to isolate the box to have a chance to do threshold detection to find the letters. The specular reflections of the gold also make it difficult. I think better illumination would reduce the problems.
回答(1 个)
Image Analyst
2018-2-12
You need better image capture conditions, such as alignment and lighting. Then do a background correction. Then look at the Computer Vision System Toolbox, which has OCR capabilities. https://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!