Training an object detector using only positive samples