First implementation of objectDetector and doSearch method in Search