- Since OpenCV algorithms work best on rectangular frames. We are going to use the concept of homogrpahy to get the bird's view of traffic and then use cropping to make our image exclusive to vehicles on the road.
- More information can be found on our course webpage
To run the program write the following commands on your terminal
$ maketo compile anglecorrection.cpp to a binary myapp.o- Use
$ ./myapp.o img_name.extnto view the img_name.extn. Select 4 points and pressEscto view wrapped image. PressEscagain to view the cropped image.
- Only your first 4 clicks will be considered for selection and thus avoid selecting more than 50 points.