Using the external haarcommon library.