Create an image of a given text character
11 views (last 30 days)
Show older comments
I'm wondering if anyone knows of an easy programmatic way in MATLAB to create images of a given text character.The image below of the number three, I created by cropping and resizing a screenshot, which involved a fair amount of manual work, and I'm looking for a more automated way.
I have to believe that there is a ready-to-go way to do this. A tool like that would have obvious applications in template matching and the testing of character recognition algorithms.
0 Comments
Accepted Answer
Image Analyst
on 8 Oct 2015
There's an insertText function in the Computer Vision System Toolbox. Do you have that?
Alternatively, use the text() function to create the text in the overlay, then use export_fig to save the axes as an image.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!