Help getting started - R_PI / machine -or- computer vision with input / output

every pressfit assembly step has this same problem. I’m no mechanical engineer but this seems to be a solved problem. it is solved with mechanics, not with vision/inspection.

a physical approach is more robust. this calls for an alignment tool, which could be as simple as a cone.

at least give the pressfit machine sensors that measure forces.

I’d also recommend that you find consulting for your mechanical engineering and industrial automation needs. vision is often a terrible solution. it complicates things, is error-prone (if done ad-hoc), … you need to discard the vision approach and consider proven industry-standard alternatives.