Fixed method unrecognized errors in ObjectDetector