Joint Cascade Optimization Using A Product Of Boosted Classifiers