Hello OpenCV Community,
after you helped me a lot with my Cascade Classifier problems, i have a new question about decision trees (C++).
I want to train Decision Trees to recognize Persons. I red the official Implementation and all forum themes i could find about this topic, but i still dont know how to train my decision tree.
The function cv::ml::train() wants cv::ml::TrainData() as argument. How do i become my positiv and negativ images in the array of cv::ml::TrainData()???
Does somebody has an example Code of the Training of his Decision/ Random or Boosting Tree? (Doesnt matter if its Face Recognition or something like that)
Thank you a lot, Kind regards, Derrick