Fully automatic detector