Skip to content
This repository was archived by the owner on Oct 9, 2019. It is now read-only.
This repository was archived by the owner on Oct 9, 2019. It is now read-only.

Detect the road and obstacles using the "Magic Wand" #14

Description

@dbolkensteyn

The Magic Wand tool allows in many paint applications to select areas based on color similarity, rather than based on shape. A few manual tests on database images using Paint.NET show some promising results: It is possible to select the road while excluding obstacle vehicles in just a few operations.

OpenCV provides the "Magic Wand" feature with its floodFill() function: http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html#floodfill

The flood filling could be started from random points around the area the moto was detected (where we expect to find road - but we could also hit another vehicle).

Another approach would be to go blob detection, but OpenCV seems to only provide a way to detect circularly-shaped blobs out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions