|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Very basic boulder detection
That is an interesting workaround! I think I will give it a shot.
|
|
#2
|
|||
|
|||
|
Re: Very basic boulder detection
I was going to try this same thing, but I decided that it would be easier just to use an infrared proximity sensor (but I didn't have enough time to add one
). I can find the part number of the one I was going to use if anyone wants it. |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|