Should I use CV_HAAR_SCALE_IMAGE while using LBP CascadeClassifier?
The OpenCV documentation suggests using CASCADE_SCALE_IMAGE when performing a detectMultiScale with LBP features.

lollipops_cascade.detectMultiScale(frame_gray, lollipops,1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(30, 30));


Even though, it works perfectly with  CV_HAAR_SCALE_IMAGE flag instead of CASCADE_SCALE_IMAGE.