Try the motion Linux package, it can connect to tapos over SDP and then you can run Yolo or any other solution on the output