can someone explain to me how to use sam2 for real-time inference, such that the model can predict objects while my webcam is open.
can someone explain to me how to use sam2 for real-time inference, such that the model can predict objects while my webcam is open.