-
Notifications
You must be signed in to change notification settings - Fork 4
Feature Detection
PPilger edited this page Sep 19, 2012
·
8 revisions
The target of the feature detection is to locate and characterize objects in an image.
There is only one approach implemented at the moment, as this approach is doing quite well.
In this approach all contours in the (binary) image are detected and stored in ContourFeature
objects. There may be objects with holes in the image, so that there are several contours for the same object. So every ContourFeature
that is inside another one is removed.
With a good input image, this approach works very well.
It fails however when letters or words are connected with other objects. So this problems have to be solved in the image processing.
-
ContourFeature
(describes the feature) -
ContourFeatureDetector
(runs the detection algorithm)
It is possible to accept or deny features based on some rules. These rules have the base class FeatureRule
:
AreaFeatureRule
RankingFeatureRule
SizeFeatureRule