face-detect-mqtt icon indicating copy to clipboard operation
face-detect-mqtt copied to clipboard

Help wanted using RTSP stream instead of Pi cam

Open ThoR4X opened this issue 1 year ago • 1 comments

Hello Jacob,

many thanks for your work!

My TP-Link Tapo C320WS provides an "AI detection", including people detection and also provides ONVIF services BUT does not send notifications regarding people detection because this seems to be a cloud feature and is not proccessed by the cam itself, I guess. But it does provide a local RTSP stream, wich I do already use for my doorbell. Hence, I was looking for a solution enabling people detection, without any cloud vendor and do it myself locally.

tl;dr: Is it possible to use a local RTSP stream instead of the local Pi cam as device / source for detection?

Best regards, Patrick

ThoR4X avatar Apr 04 '23 09:04 ThoR4X

You can change the image feed from pi camera to anything you desire, try modify this to your requirements: self.cap = cv2.VideoCapture(0)

@ThoR4X

lamoboos223 avatar Aug 24 '24 22:08 lamoboos223