from sam2.csrc.connected_comp import connect