count_frames

lightning_pose.data.utils.count_frames(video_list: list[str] | str | list[list[str]]) int[source]

Simple function to count the number of frames in a video or a list of videos.