Ask Your Question

Revision history [back]

This tutorial does exactly that. It even includes a step-by-step explanation of the code

Since you said

I have completely 100% zero experience yet

Thisthis tutorial does exactly that. was meant to be a good intro. It even includes a step-by-step explanation of the codecode which will helps you understand the morphological operations you need to apply to segregate the lines. You'd need to run multiple tests to find out which values makes sense for your case; lines at a random angle. The tutorial covers line detection at both horizontal and vertical axis.

With that understanding, you can start exploring houghLines, houghLinesP and even lineSegmentDetector to solve the angle problem.

Since you said

I have completely 100% zero experience yet

this tutorial was meant to be a good intro. It even includes a step-by-step explanation of the code which will helps you understand the morphological operations you need to apply to segregate the lines. You'd need to run multiple tests to find out which values makes sense for your case; lines at a random angle. The tutorial covers line detection at both horizontal and vertical axis.

With that understanding, you can start exploring houghLines, houghLinesP and even lineSegmentDetector to solve the angle problem.

Since you said

I have completely 100% zero experience yet

this tutorial was meant to be a good intro. It even includes a step-by-step explanation of the code which will helps you understand the morphological operations you need to apply to segregate the lines. You'd need to run multiple tests to find out which values makes sense for your case; lines at a random angle. The tutorial covers line detection at both horizontal and vertical axis.

With that understanding, you can start exploring houghLines, houghLinesP and even lineSegmentDetector to solve the angle problem.problem as a whole.