how do you extract an the shape of an object?

103 views Asked by At

I am trying to make a autonomous car in a game but to do that i need to extract the shape of the road.

this will help you under stand:

enter image description here

so is there a way to classify if the road is bent to the right or the left?. if so can you do a event based on if it is right or left

this is the output if i grayscale this image:

enter image description here

it takes the lane good but with the shadow and car umm... you can see.

but the road is impossible to truly classify, with out looking the yellow lane.

0

There are 0 answers