Created
October 13, 2020 15:43
-
-
Save Abhayparashar31/af36bf25ce61345266db4b54aba33be1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
img = cv2.imread("images/img0.jpg") | |
cv2.line(img,(110,260),(300,260),(0,255,0),3) | |
cv2.rectangle(img,(300,280),(100,20),(0,0,255),2) | |
cv2.circle(img,(200,130),90,(255,255,0),2) | |
cv2.putText(img,"MONALISA",(120,250),cv2.FONT_HERSHEY_COMPLEX,1,(255,255,255),2) | |
cv2.imshow("Image",img) | |
cv2.waitKey(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment