What are the recommended parameters for CascadeClassifier::detectMultiScale() and depending on which factors I should change default parameters?
void Cascade
If you have a good CPU and RAM performance or more you can set scaleFactor=1 minNeighbors=3
if you're working in an embedded system like in raspberry i recommand to choose smth like scaleFactor= 2, (Higher values means less accuracy) minNeighbors = 1, (Higher values means less accuracy but more reliability) the algorithm will run much faster otherwise it will freeze if the CPU performance and RAM are not enough .
hope it helps