Text this: The design of an optimum sensor array for fast defect inspection in pipeline