Skip to content

SebMay99/Obstacle-detection-using-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Obstacle-detection-using-OpenCV

The goal is to detect a rectangle obstacle by using OpenCV, controlling a drone's movement through ROS in order to make an approach without colliding with the obstacle

The logic is based on https://stackoverflow.com/questions/60357533/separate-objects-countours-with-opencv:

  • Read the input
  • Convert to HSV and extract only the saturation channel (black/white/gray have zero saturation)
  • Threshold
  • Apply morphology open and close to remove the extranous white regions
  • Get the contour and approximate to simple polygon
  • Draw the polygon on the input
  • Analyze the obstacle's area

Achieved:

  • Obstacle detection
  • Area analysis
  • ROS implementation

Future tasks:

  • Improve filters fiability
  • Dynamic filters
  • Fix bugs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages