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

Get Cascade Classifier response #60

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

Get Cascade Classifier response #60

scottclowe opened this issue Feb 18, 2015 · 1 comment

Comments

@scottclowe
Copy link
Member

A function which, given an image, returns a response for every cascade classifier by the output of #59.

The natural response given by CascadeClassifier is location and number of occurrences of the the search pattern. For us, this will essentially be a binary response as we will only be searching on a scale appropriate to find the pattern at the whole-image scale. However, we could possibly use the numDetections response (the number of positively identified rectangles merged to make the detection) as a scalar output instead, which would give us more information to work with.

This should be done in Python so it is able to interface with a downstream sklearn classification from which we can get a probability for of the image belonging to each of the classes.

http://docs.opencv.org/trunk/doc/py_tutorials/py_objdetect/py_face_detection/py_face_detection.html
https://github.com/Itseez/opencv/blob/master/samples/python2/facedetect.py
http://docs.opencv.org/trunk/modules/objdetect/doc/cascade_classification.html

@scottclowe scottclowe added this to the Casscade Classifier milestone Feb 21, 2015
@scottclowe
Copy link
Member Author

This will subclass HighLevelFeatures.

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

No branches or pull requests

1 participant