How to make two lines from 4 coordinates values in python

Thread Starter

Alex Grame

Joined Jul 6, 2018
6
Hi experts! hope all is well. Kindly help me to solve this minor issue in python.
I have 4 coordinates like [[310 675 555 483]]. First two values shows left line and second two values are right line coordinates. I want to separate these coordinates into left line and right line. I mean can u suggest me something like this:
right_lines, left_lines = separate_lines([[310 675 555 483]])
please help me to solve this.
Thank You
 
Top