An image-based frameworks for automated discrepancy quantification and realignment of industrial assemblies