reducing rework costs with ai vision