mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Optimization for HoughLinesP
This commit is contained in:
@@ -117,7 +117,7 @@ namespace cv { namespace cuda { namespace device
|
||||
if (dir.x < 0)
|
||||
dir = -dir;
|
||||
}
|
||||
else if (pb[1].x == cols - 1 && (pb[0].y >= 0 && pb[0].y < rows))
|
||||
else if (pb[1].x == cols - 1 && (pb[1].y >= 0 && pb[1].y < rows))
|
||||
{
|
||||
p0 = pb[1];
|
||||
if (dir.x > 0)
|
||||
|
||||
Reference in New Issue
Block a user