Inspection and Detection Machines