Created
August 18, 2017 10:17
-
-
Save aindong/d49d54e2d1510f7d01f9fce144e9746c to your computer and use it in GitHub Desktop.
draw target like graphics on face
This file contains hidden or 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
cv2.line(Image, (x, y), (x + (w/5) ,y), WHITE, 2) | |
cv2.line(Image, (x+((w/5)*4), y), (x+w, y), WHITE, 2) | |
cv2.line(Image, (x, y), (x, y+(h/5)), WHITE, 2) | |
cv2.line(Image, (x+w, y), (x+w, y+(h/5)), WHITE, 2) | |
cv2.line(Image, (x, (y+(h/5*4))), (x, y+h), WHITE, 2) | |
cv2.line(Image, (x, (y+h)), (x + (w/5) ,y+h), WHITE, 2) | |
cv2.line(Image, (x+((w/5)*4), y+h), (x + w, y + h), WHITE, 2) | |
cv2.line(Image, (x+w, (y+(h/5*4))), (x+w, y+h), WHITE, 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment