Clustering straight lines in Python with OpenCV -


i have small problem solve i'm not sure approach is. i've had find lots of straight lines in image , draw own lines on them, have done opencv cv2.line(...) function. issue program runs 1000 times per image , results in me recognizing same straight line multiple times. in no issue, need know how many straight lines present in image.

so wondering, if given arrays of of start , end points of different lines, if there way aggregate them lines drawn on top of each other or each other drawn once.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -