I am using webcam to take image and recognizing faces after processing I want to preview the live image with the person's name. How I should write on the specific point on the preview window?

2 次查看(过去 30 天)
cam=webcam;
while true snap=snapshot(cam); imshow(snap) end
I should perform the processing with the snap and add the person's name at specific point and show the processed version.

回答(1 个)

Vidip
Vidip 2024-4-12
To process the snapshot from your webcam feed, add a person's name at a specific point on the image, and display the processed version, you can use ‘insertText’ function as it inserts a text into the truecolor or grayscale image.
For more information, you can refer to the documentation link below:

Community Treasure Hunt

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

Start Hunting!

Translated by