Ask Your Question
0

Find Corners of a contour

asked 2016-11-29 07:14:02 -0600

TiBe gravatar image

updated 2018-09-14 00:30:19 -0600

Hello,

i want to know how i can find the pixel postion of the corner points of a contour?

I use canny for edge detection and then I am finding the largest contour in the image (see image). Now I need the exact corner points. Important, the display position is variable

image description

If I use minRectArea, I get bad results.

image description

I hope someone can help me :)

edit retag flag offensive close merge delete

Comments

1

Could this Question be related to what you want to achieve? When that is the case, try what LBerger is suggesting there and look also up this post

Vintez gravatar imageVintez ( 2016-11-29 07:26:02 -0600 )edit

Thanks for the help. Thats exactly what I mean :)

TiBe gravatar imageTiBe ( 2016-11-30 03:05:10 -0600 )edit

@TiBe cool ;) actually you can thank LBerger for that, because I don't know really much about that topic :D How about you vote up his Answer?

Vintez gravatar imageVintez ( 2016-11-30 03:08:49 -0600 )edit

Done ...;)

TiBe gravatar imageTiBe ( 2016-11-30 05:33:10 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-11 15:55:54 -0600

Hi, did you solve the problem? could you help me? Thanks

edit flag offensive delete link more

Comments

@matis_14_90 what do you want to do?

sturkmen gravatar imagesturkmen ( 2017-09-11 16:01:23 -0600 )edit

I have a similar contour to the image, using the findContours() function; but I can not extract the coordinates of the corners.

matis_14_90 gravatar imagematis_14_90 ( 2017-09-11 16:18:05 -0600 )edit

take a look at this or post your image

sturkmen gravatar imagesturkmen ( 2017-09-11 16:40:47 -0600 )edit

Thank you very much. You are a genious!

matis_14_90 gravatar imagematis_14_90 ( 2017-09-11 16:43:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-29 07:14:02 -0600

Seen: 10,690 times

Last updated: Nov 29 '16