dector