Haarcascade samples training cropping neccesity

Thanks I am gonna generate more negatives. Do you think the negatives need to be more than positive? Or 30000 p and 20000 n is ok?

The error message is about not able to be get more positive samples.

and I have tried hog descriptor it is completed but the cascade xml didn’t work with Python.