opencv houghlines uniquement horizontal
import numpy as np
angle = np.arctan2(y2 - y1, x2 - x1) * 180. / np.pi
FishBrawler
import numpy as np
angle = np.arctan2(y2 - y1, x2 - x1) * 180. / np.pi