vision.TextInserter
is an image processing system object used to insert text into an image. Here's an example of how to use vision.TextInserter
in Matlab;
main.m239 chars10 lines
In this example, we read the input image peppers.png
, create a vision.TextInserter
object, set the text to be inserted as 'Hello World!', and then pass the image and the vision.TextInserter
object to the step()
function to get the image with the text inserted. Finally, we display the resulting image using imshow()
.
gistlibby LogSnag