Skip to content

Mohit1908/Road_traffic_density

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 

Repository files navigation

COP290

Camera angle correction and frame cropping

  • 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

Instructions

To run the program write the following commands on your terminal

  • $ make to compile anglecorrection.cpp to a binary myapp.o
  • Use $ ./myapp.o img_name.extn to view the img_name.extn. Select 4 points and press Esc to view wrapped image. Press Esc again to view the cropped image.

Error Handling

  • Only your first 4 clicks will be considered for selection and thus avoid selecting more than 50 points.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors