Ask Your Question
0

Identifying corners of a table top

asked 2016-03-18 17:42:46 -0600

updated 2016-03-19 01:02:32 -0600

berak gravatar image

I'm experienced in multiple languages and have some simple image processing in my background, but I'm fairly new to OpenCV and advanced techniques. I'm trying to find a way to identify a kitchen table top trapezoid and get the four corner points X, Y in pixels.

The sample image would have a singular table (generally) that is of a different color than the rest of the area. Maybe it'd have a table cloth, or be granite, etc.. but it'd be different than the surroundings.

Example of what I'm trying to get:

(but I also need to get points + angles of the corners/lines)

Not looking for someone to do the work for me, but some examples and direction would be awesome.

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-19 11:16:10 -0600

You can try using contour detection to get corners

edit flag offensive delete link more

Comments

What if there's a glass on the table interrupting one of the lines? I need to get only the table top perimeter in coordinates .

mattkenefick gravatar imagemattkenefick ( 2016-03-21 16:11:48 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-03-18 17:42:46 -0600

Seen: 524 times

Last updated: Mar 19 '16