from typing import List
from typing import Tuple


def connect_blp_lane_segments(start_lane_seg_idx: int, lane_seg_num: int) -> List[Tuple[int, int]]:
    """
    Add connection info for neighboring segments in baseline path.
    :param start_lane_seg_idx: Index for first lane segment in baseline path.
    :param lane_seg_num: Number of lane segments.
    :return obj_conns: Data recording lane-segment connection relations [from_lane_seg_idx, to_lane_seg_idx].
    """
    obj_conns: List[Tuple[int, int]] = []

    for lane_seg_idx in range(start_lane_seg_idx + 1, start_lane_seg_idx + lane_seg_num):
        obj_conns.append((lane_seg_idx - 1, lane_seg_idx))

    return obj_conns