Python
from overeasy import *

frames = ... # Read frames from video

workflow = Workflow([
    # Select basketball from each frame
    BoundingBoxSelectAgent(classes=["basketball"]), 
    # Non-maximum suppression
    NMSAgent(score_threshold=0.55, iou_threshold=0.8), 
])
    
results, graph = workflow.execute_multiple(frames)
Backed by
Combinator