extract_session_name_from_video
- lightning_pose.utils.io.extract_session_name_from_video(video_filename: str, view_names: list[str]) str[source]
Extract session name from video filename by removing the view name.
Simple approach: remove the underscore and view name from the filename.
- Parameters:
video_filename – Name of the video file (with or without extension)
view_names – List of possible view names to remove
- Returns:
Session name with view name removed