def __init__(self, rconfig: Dict[str, any]): Serial.__init__( self, "PreprocessFrame", rconfig, ConvertFromBGR2Gray, BlurGray, # Denoise, )
def __init__(self) -> None: Serial.__init__( self, "Foreground", GroupFrames, IntersectFrames, UnionIntersections, SubtractBackground, )
def __init__(self, rconfig: Dict[str, any]) -> None: Serial.__init__( self, "Foreground", rconfig, GroupFrames, IntersectFrames, UnionIntersections, SubtractBackground, )
def __init__(self): Serial.__init__( self, "MotionDetector", StoreHistoryFrame, ComputeTransformationMatrices, TransformedFrames, QuantizeHistoryFrames, GenerateWeights, GenerateMaskSubcomponents, ComputeMovingForeground, ApplyMasks, NoiseReduction, DetectBlobs, ShowLastFrame, )
def __init__(self, rconfig: Dict[str, any]): Serial.__init__( self, "MotionDetector", rconfig, StoreHistoryFrame, ComputeTransformationMatrices, TransformedFrames, QuantizeHistoryFrames, GenerateWeights, GenerateMaskSubcomponents, ComputeMovingForeground, ApplyMasks, NoiseReduction, DetectBlobs, MinSizeFilter, )
def update_preset_pipelines(input_file="input.mp4"): """ Updates the input information for the preset pipelines. """ ParentStage.static_stages = [] preset_pipelines["default"] = Serial( "BaboonTracker", factory(GetVideoFrame, "./data/" + input_file), PreprocessFrame, MotionDetector, TestExit, )
def update_preset_pipelines(input_file="input.mp4", runtime_config=None): """ Updates the input information for the preset pipelines. """ ParentStage.static_stages = [] preset_pipelines["default"] = Serial( "BaboonTracker", runtime_config, factory(GetVideoFrame, "./data/" + input_file), PreprocessFrame, MotionDetector, SaveBaboons, DrawRegions, TestExit, DisplayProgress, )
def __init__(self): Serial.__init__(self, "PreprocessFrame", ConvertFromBGR2Gray, BlurGray, ShowLastFrame)