Text this: Design and development of an optimized algorithm for microchip lead inspection /