Friday, 23 August 2019

get coordinates of 4 corners of display screen on image

I am trying to get 4 corners of screen (display) which is on image. I have two images taken from the same position (so I think good starting point will be extracting differences between two images /first and second image/). Just image on the screen has changed. So I would like to get top/bottom left/right (X,Y) coordinates of display screen corners.

I am using python 2.7 with cv2 and numpy (if possible not to use another modules). Unfotunately, I do not have knowledge how to get these coordinates.

Any idea please? P.S. sample code would be great and highly appretiated, many many thanks

enter image description here enter image description here

Final result:

enter image description here



from get coordinates of 4 corners of display screen on image

No comments:

Post a Comment