implemented “scale cascade” variant of the cascade classifier