Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

opencv houghlines only horizontal

import numpy as np
angle = np.arctan2(y2 - y1, x2 - x1) * 180. / np.pi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #opencv #houghlines #horizontal
ADD COMMENT
Topic
Name
6+8 =