Python How Can I Find Straight Lines In Numpy Array

Python How Can I Find Straight Lines In Numpy Array