Understanding traincascade code
Hello,
I want to understand traincascade method code in detail. I need to save some information related to extracted features and sliding window coordinates, scale, etc. I have examined the code a bit; but it seems complex to me to understand without getting more information from experts.
For example, if I understand correctly, generateFeatures() only calculates the functions to be used. Namely, intensity is not used. fillPassedSamples method reads the image files and CvFeatureEvaluator::setImage determines the classes. updateweights should be related to weights. But where are all of them related and where is calculation done?
Or in short, how can I understand the code? What must I read first if required?
Thanks a lot. Sincerely,