TASK
I am interested in detection of texture on a shirt i.e. whether there are -
- Both Horizontal and vertical lines
- Only Horizontal lines
- Only Vertical lines
- Neither Horizontal nor Vertical
My images are as under -
Category 1 : Both horizontal and vertical lines
Category 2 : Only Horizontal
Category 3 : Only Vertical
Category 4 : Neither Vertical nor Horizontal
Methods I have tried
I have tried -
- Hough Lines -- A single line is broken into multiple lines. Results, were poor.
- Feature Extraction -- I extracted keypoints using SIFT and SURF and tried to check their orientation, could not find any pattern.
- Edge Detection -- I tried using Sobel Edge Detection, both in horizontal and vertical direction but could not figure out how to use that data.
QUESTION
How should I approach this task? What image processing algorithms should I use? How can I use the available OpenCV functionality?