Questions tagged [houghlinesp]

This tag should be used only for concerns related to finding lines using Probabilistic Hough Transform. Not to be used for queries regarding Hough Transform alone

In comparison to Hough Transform, the Probabilistic Hough Transform is rather simple and less computation intensive. Hough Transform takes all the points into consideration while finding lines. On the other hand, Probabilistic Hough Transform takes only a random subset of points that is sufficient for line detection

For detailed information, read [THE OPENCV DOC]

64 questions
0
votes
1 answer

Check if array row is None and assign it value

I'm trying to "fix" data output from a function (OpenCV v3, HoughLinesP). The first "row" of the output is always "None"... while the rest of the output seems to work just fine. I'm trying to check for that first row (actually, any row) that is…
slow_one
  • 113
  • 1
  • 4
  • 13
0
votes
1 answer

img is not a numpy array, neither a scalar ... But 'img' isn't used in my code as a variable name

I'm attempting to find vertical lines in a video. Python 2.7 and OpenCV 3. I am using background subtraction and then applying the Canny Edge Detection filter. I've been able to apply the HoughLinesP method to a single image but need to expand this…
slow_one
  • 113
  • 1
  • 4
  • 13
0
votes
1 answer

Convert HoughLinesP output line format to HoughLines output line format

Reminder HoughLines output lines: HoughLinesP output lines: Question how to move from HoughLinesP lines format to HoughLines lines format ? Details I've made an algorithm based on the HoughLines output lines, so I dont really need segments ending…
Ghilas BELHADJ
  • 13,412
  • 10
  • 59
  • 99
0
votes
1 answer

search of segments that form an angle with HoughLinesP and c++

I want to call a function to compare all of the segments that I calculate in my code and know how many polygons there are in my view, made up of straight lines, which consist of 3, 4 or more segments that form a closed path, or alternatively i would…
1 2 3 4
5