1 | initial version |
but the main problem I have is that as soon as the person does not front the camera perfectly
There is nothing wrong. Basically a cascade classifier model only detects what it is trained for. Those models are training with only upfront faces, aligned perfectly nice and nicely centered. This is by far a major issue, but if you want a better model, you will need to train one yourself.