Object Detection On The Streaming Video

Hi mates!
I have a Raspberry Pi 4, and it is connected to a camera. Then I stream the video get from camera to the laptop. So I can watch it through the local host on web browser. Is there any way that I can add the object detection model to the browser or process the video on the laptop.