def offside_detection(img): ...