object detector complete [NOT TESTED]