Ask Your Question
0

Find Corners of a contour

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

TiBe gravatar image

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

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 -0500 )edit

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

TiBe gravatar imageTiBe ( 2016-11-30 03:05:10 -0500 )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 -0500 )edit

Done ...;)

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

1 answer

Sort by ยป oldest newest most voted
0

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

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 -0500 )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 -0500 )edit

take a look at this or post your image

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

Thank you very much. You are a genious!

matis_14_90 gravatar imagematis_14_90 ( 2017-09-11 16:43:12 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 4,483 times

Last updated: Nov 29 '16