Ask Your Question
1

General Cascade Classifier for any type of features

asked 2013-05-08 11:00:43 -0600

updated 2013-05-08 14:05:55 -0600

I think it would be important for OpenCV to add a boosted cascade classifier to its functionalities. I mean a general algorithm, and not one that only works with haar features.

Does anyone know if something like this is going to be implemented any time soon?

EDIT: is it possible to use any type of features on the CascadeClassifier method? If so, is there any tutorial explaining how to do so?

I've created an algorithm that extracts a very large pool of features from various channels of the images. The features resemble Haar Wavelets but differ in the fact that in HW are extracted only from intensity images, whereas my features are extracted from 10 different channels, so you can see the difference.

I've used the boost class to create a predict method that works nicely in terms of detection rate, but it is very very slow because I always have to evaluate the whole set of features. Therefore I wanted to train a boosted cascade classifier in order to speed up the process. But almost all references I find online about cascades and openCV are for Haar Wavelets, mainly the Viola and Jones implementation for face detection.4

I have my data in a .csv file with ~15K classified samples and 15K features each. Is it possible to use this file to create a cascade classifier?

EDIT 2: I cant use detectMultiScale function because I need to evaluate my own algorithm.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-15 19:29:59 -0600

eanes gravatar image

It is possible to train OpenCV with other types of features. There is an implementation for LBP features cascades in OpenCV.

Basically you need to extend the class FeatureEvaluator and create your MyFeatureEvaluator.

The problem, I think, is that the OpenCV code still handles only features that are obtained by comparing, or performing other kinds of operations in rectangular regions inside the images.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-08 11:00:43 -0600

Seen: 464 times

Last updated: May 15 '13