Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train Cascade Classifier #59

Open
scottclowe opened this issue Feb 18, 2015 · 1 comment
Open

Train Cascade Classifier #59

scottclowe opened this issue Feb 18, 2015 · 1 comment

Comments

@scottclowe
Copy link
Member

Using shell scripting or C++, use OpenCV to train a Haar and/or LBP cascade classifier to identify the presence of each plankton class.

I think we will need a separate classifier trained for each of the plankton classes, because cascade classifiers are binary/single-class. The output of the classifier will be an XML file which can be read in using the Python wrapper of OpenCV in order to detect the presence of the plankton in the images.

NB: The number of positive and negative samples probably needs to be similar for the classifier to be effective.

http://docs.opencv.org/trunk/doc/user_guide/ug_traincascade.html
http://docs.opencv.org/trunk/modules/objdetect/doc/cascade_classification.html
https://github.com/Itseez/opencv/blob/master/samples/cpp/dbt_face_detection.cpp

@scottclowe
Copy link
Member Author

Do you want to do this @svepe? No Python needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants