Automating Interpretation Of Images And Visual Inspections In Modern Manufacturing And Medical Settings