Ask Your Question

Revision history [back]

how to print what is there is in a variable to the frame.

hi.

please help me. Im doing a project. In that project i will be getting response from the server. I want to print this response on the frame. I tried putting the response object in cv2.putText().

like this.

cv2.putText(frame response , (0,50), cv2.FONT_HERSHEY_SIMPLEX, 2, (0,0,255), 3, cv2.LINE_AA)

but this statement is giving me the error.

I googled the function to print what is there in the response. But I didn't get any function.

so pleae help me to solve this.

how to print what is there is in a variable to the frame.

hi.

please help me. Im doing a project. In that project i will be getting response from the server. I want to print this response on the frame. I tried putting the response object in cv2.putText().

like this.

cv2.putText(frame response , (0,50), cv2.FONT_HERSHEY_SIMPLEX, 2, (0,0,255), 3, cv2.LINE_AA)

cv2.LINE_AA)

but this statement is giving me the error.

I googled the function to print what is there in the response. But I didn't get any function.

so pleae help me to solve this.

how to print what is there is in a variable to the frame.

hi.

please help me. Im doing a project. In that project i will be getting response from the server. I want to print this response on the frame. I tried putting the response object in cv2.putText().

like this.

cv2.putText(frame cv2.putText(frame, response , (0,50), cv2.FONT_HERSHEY_SIMPLEX, 2, (0,0,255), 3, cv2.LINE_AA)

but this statement is giving me the error.

error:

cv2.putText(frame, response , (0,50), cv2.FONT_HERSHEY_SIMPLEX, 2, (0,0,255), 3, cv2.LINE_AA)

TypeError: bad argument type for built-in operation

I googled the function to print what is there in the response. But I didn't get any function.

so pleae help me to solve this.