↓ 2 callersFunctionpolygon_from_points Returns a Polygon object to use with the Polygon2 class from a list of 8 points: x1,y1,x2,y2,x3,y3,x4,y4
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:78
↓ 2 callersFunctionread_video_pyav_base64(
video_path: str,
*,
num_frm: int = 8,
fps: Optional[float] = None,
format="rgb24",
i
lmms-eval/lmms_eval/models/model_utils/load_video.py:161
↓ 2 callersFunctionrun_dataset_phase(
samples: list[dict[str, Any]],
tokenizer,
model,
image_processor,
args: BenchmarkArgs,
playground/bench_efficiency.py:472