Loopr AI interview question

How will you implement defect detection for continuous manufacturing company?