Created generic Haar classifier detector