Skip to content

Instantly share code, notes, and snippets.

@ritwikraha
Created June 22, 2019 19:04
Show Gist options
  • Save ritwikraha/752f7e4fbbc29f03df6b42def77ef230 to your computer and use it in GitHub Desktop.
Save ritwikraha/752f7e4fbbc29f03df6b42def77ef230 to your computer and use it in GitHub Desktop.
import cv2
import numpy as np
# import an image
image=cv2.imread("fayah.jpg")
# take x,y from getsector.py
image[x,y]=[0,0,255]
# Save
cv2.imwrite("result.png",image)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment