Ask Your Question

Revision history [back]

Identifying corners of a table top

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 http://i.imgur.com/IduhQrK.png (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!

click to hide/show revision 2
No.2 Revision

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

berak gravatar image

Identifying corners of a table top

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 http://i.imgur.com/IduhQrK.png 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!