a bunch of machine learning stuff and temporal and size cutoffs for tracking stage