Reputation: 161
As the title state's I'm trying to turn an image like this:
Into a 2d map. More specifically I want to map the red lines I was able to add on top of the image. I've tried some stuff and all I was able to get was this:
Any help or tips? (I'm using mostly opencv on python for this work)
Upvotes: 2
Views: 1825
Reputation: 417
If I understand you correctly you want to transform your camera image into a bird's eye view perspective, eliminating the perspective warp of the lane markings and creating a flat 2D top-down view of the road plane.
If this is indeed what you want to achieve you can consult this tutorial for OpenCV tutorial which is doing exactly this: Bird's Eye View Transformation tutorial
Upvotes: 2