Text this: Application of image processing technology in yarn hairiness detection