Development of Automated Inspection of Structural Components Algorithm