docs: def segments_from_numpy(segments):
      """reverses segments_to_numpy"""
      segments = segments if SEGMENTS_DIRECTION == 0 else segments.tranpose()
      segments = [map(int, s) for s in segments]
      return segments