Text this: Machine learning approach for automated optical inspection of electronic components