Skip to main content

Crate video_analysis_test_support

Crate video_analysis_test_support 

Source
Expand description

Public API for the video-analysis-test-support crate.

Modules§

surface
Library-owned runtime surface for video-analysis-test-support.

Structs§

SyntheticVideoSpec
Specification for deterministic synthetic video fixtures.

Enums§

ScenePattern
Deterministic frame patterns for scene-detection tests and benchmarks.

Constants§

ME_AT_THE_ZOO_WIKIMEDIA_URL
Constant for me at the zoo wikimedia URL.

Functions§

assert_metric_present
Asserts a metric row contains a key.
assert_nonempty_file
Asserts that a file exists and is nonempty.
assert_scene_boundaries
Asserts scene start boundaries by frame index.
checkerboard_frame
Returns checkerboard frame.
comfy_prompt_json
Returns comfy prompt JSON.
comfy_workflow_json
Returns comfy workflow JSON.
command_succeeds
Returns command succeeds.
dataset_with_scene_text_and_feature
Returns dataset with scene text and feature.
ensure_me_at_the_zoo_fixture
Returns ensure me at the zoo fixture.
find_command
Returns find command.
find_python_with_modules
Returns find python with modules.
frame_position
Returns frame position.
frame_position_at_rate
Returns frame position at rate.
minimal_colmap_dataset
Returns minimal COLMAP dataset.
minimal_nerfstudio_transforms
Returns minimal Nerfstudio transforms.
owned_text_segment
Returns owned text segment.
require_command
Returns require command.
rgb_frame
Returns RGB frame.
run_detector_on_frames
Runs a scene detector on pre-generated frames using the public scene pipeline.
scene
Returns scene.
synthetic_frames
Generates deterministic synthetic video frames.
text_segment
Returns text segment.
timestamp
Returns timestamp.
timestamp_at
Returns timestamp at.