It's not a perfect detector. If you give up perfection and settle for X% accuracy, then you can use a classical system (FWIU).