Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Information extraction from image

Hi guys

I am working on a line follower robot which finds the shortest path and travels it. This robot is given an input image (which is the image of the area the robot should travel) as shown below

Input Image

For understanding purpose let me assume the red circle to be nodes and the line joining this circle as links.

There are two types of links horizontal link (denoted by green line) and vertical link (denoted by blue line) as shown below.

image description

I want to whether link is present between two nodes and store the result in an array ( using numpy).

In order to do this what image processing operation should i do on this input image so that i may know that link is present ?

I am using pyhton 2.7 and open cv2

Information extraction from image

Hi guys

I am working on a line follower robot which finds the shortest path and travels it. This robot is given an input image (which is the image of the area the robot should travel) as shown below

Input Image

For understanding purpose let me assume the red circle to be nodes and the line joining this circle as links.

There are two types of links horizontal link (denoted by green line) and vertical link (denoted by blue line) as shown below.

image description

I want to whether link is present between two nodes and store the result in an array ( using numpy).

In order to do this what image processing operation should i do on this input image so that i may know that link is present ?

I am using pyhton 2.7 and open cv2