How would you design a technical architecture for automating defect detection on an assembly line using computer vision?