View Single Post
  #1   Spotlight this post!  
Unread 28-05-2016, 18:56
Cabey4 Cabey4 is offline
Vision/Scouting/Strategy/Too much
AKA: Tom Schwarz
no team
Team Role: Programmer
 
Join Date: May 2015
Rookie Year: 2015
Location: Sydney
Posts: 26
Cabey4 is on a distinguished road
Re: Very basic boulder detection

I would:
1. run a very small median blur
2. Very slight HSV filtering - barley anything - remove stuff that's say bright green. You will have much more than just a ball
3. Binary mask or something so that you have the full image with parts that didn't get through HSV now black - as opposed to just a black and white image that you would otherwise have

Now, it would make it a lot easier to paint or colour the parts of the robot that border the boulder, from the camera's perspective. Enough that the HSV filtering will remove it, so you should end up with the gray ball (or part of it) not touching the robot.

4. Edge detection
5. filter based on criteria

You could also use HoughCircles, but it still might go crazy without the boulder.
__________________
Reply With Quote