Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add text overlay to image? #5

Open
Obliterous opened this issue Jul 16, 2018 · 4 comments
Open

add text overlay to image? #5

Obliterous opened this issue Jul 16, 2018 · 4 comments

Comments

@Obliterous
Copy link

Is it possible to add text overlay & timestamp to image/video so that multiple similar streams can be distinguished?

@cvsandbox
Copy link
Owner

This functionality is not there. Need to add it.

@shipp02
Copy link

shipp02 commented Dec 8, 2019

It should be quite simple using opencv.The documentation for the specific function you need to use can be found here:
https://docs.opencv.org/master/d6/d0f/structcv_1_1gapi_1_1wip_1_1draw_1_1Text.html#details

@shipp02
Copy link

shipp02 commented Dec 8, 2019

Some example code:

putText( image2, "OpenCV forever!", org, FONT_HERSHEY_COMPLEX, 3,Scalar(i, i, 255), 5,lineType );

It is taken from here:
https://docs.opencv.org/master/de/d06/samples_2cpp_2tutorial_code_2ImgProc_2basic_drawing_2Drawing_2_8cpp-example.html#a22

@cvsandbox
Copy link
Owner

Windows version already has this feature:
b915c73

No OpenCV needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants