0

I want convert string to image.

What I want is :

input = string
output = 2D or 3D numpy array image consisting of 0, 255 maybe

Is there any package or module doing this??

Thank you.

0

1 Answer 1

1

you can use opencv2.putText

https://docs.opencv.org/4.x/dc/da5/tutorial_py_drawing_functions.html

opencv-python workwith numpy.ndarray

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.