Haar object detector refactored.