what is the meaning of detects