How to make and use cascade classification?

Dear All

I have a problem when I make a cascade modele from 「Learn Cascade Classifier Model from Annotated Data」Component. I train a Cascade Classifier model from positive and negative examples provided by the Image Annotator, but I make a Error under ,,,

Error: Unexpected error occurred inside CreateTrainingSamples() , the function was called from IPPOperator_CascadeLearner::performOperation() 

Detailed Exception Info:
-- Std::Exception (OpenCV(3.4.2) /home/scallaway/git_p4/opencv342_lin64/modules/core/src/matrix.cpp:465: error: (-215:Assertion failed) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function 'Mat'

Best regards