1 | initial version |
Yes, you have to train the classifier for the objects you want to detect. See the explanations here or this blog post, or any of the Google results...
Main stages are: getting positive samples (views of the object you want to recognize), getting negative samples (anything else) and train you classifier. Maybe after, you want to boost it with some boosting methods.