I'm new to OpenCV and image processing in general. I have photos taken with a camera of food labels for a project I'm working on. I was able to use the cvHoughLines2 function to draw red lines over the lines/bars on the photo.
What I want to do now is to chop up the image into several smaller images based on the Hough lines - so that each "line" (e.g. the "calories" line, "protein" line, etc) of the food label is separated into new images.
Since I have no idea how to do this, is there someone who could point me somewhere or teach me how to do this?
Thanks.