Refactor: Extracted common logic from CatpureLeaderBoard and CaptureCamDriver into SampleFilter