pub trait VideoBuilder {
fn contrast_thresholds(self, c_thresh_pos: u8, c_thresh_neg: u8) -> Self;
fn c_thresh_pos(self, c_thresh_pos: u8) -> Self;
fn c_thresh_neg(self, c_thresh_neg: u8) -> Self;
fn chunk_rows(self, chunk_rows: usize) -> Self;
fn time_parameters(
self,
tps: u32,
ref_time: u32,
delta_t_max: u32
) -> Result<Self, Box<dyn Error>>
where
Self: Sized;
fn write_out(
self,
output_filename: String,
source_camera: SourceCamera,
time_mode: TimeMode
) -> Result<Box<Self>, Box<dyn Error>>;
fn show_display(self, show_display: bool) -> Self;
}