Ask Your Question
0

How to write a text to the picture

asked 2013-05-30 10:35:30 -0600

Marian gravatar image

I need to write a text to picture captured by camera. How to do it without using Qt? Is any way to do it for windows dialog - based application?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-05-30 13:45:36 -0600

berak gravatar image
edit flag offensive delete link more

Comments

I am able to write text(english) to the picture. However, I wanted to try for other languages. Writing text in Hindi language does not show the text(encoded text appears). Can someone please suggest how to support text in other languages apart from English.

Thanks, Shredderwoods

Shredderwoods gravatar imageShredderwoods ( 2019-01-03 07:13:26 -0600 )edit

@Shredderwoods, please do not post answers here, if you have a question or comment, thank you.

by default, putText only supports a small ascii subset. if you built with Qt support, you can use your system's fonts, there is also a freetype module in opencv_contrib for arbitrary bitmap fonts.

just don't forget, that this is a computer-vision library, where your problem is not really relevant ...

berak gravatar imageberak ( 2019-01-03 07:22:53 -0600 )edit

Question Tools

Stats

Asked: 2013-05-30 10:35:30 -0600

Seen: 397 times

Last updated: May 30 '13