Motional interview question

Design a system to use ml for detection