binaryDetector