object_detector_app icon indicating copy to clipboard operation
object_detector_app copied to clipboard

About CCTV camera with rtsp mode.

Open tengulre opened this issue 7 years ago • 3 comments

I use this project in the video surveillance platform, analysis of people, cars and other objects, but I use RTSP to obtain the video image monitoring equipment, very Carlton, get the normal FPS. Is there any way you can do it?

tengulre avatar Jan 03 '18 11:01 tengulre

@tengulre I think you need an OpenCV lib built with FFMPEG lib.

kun-qian avatar Jan 09 '18 05:01 kun-qian

Yes, I have built them in project.

tengulre avatar Jan 11 '18 12:01 tengulre

Just edit code as bellow:

video_capture = cv2.VideoCapture("Your Url Here")
    fps = FPS().start()

    while True:  # fps._numFrames < 120
        ret, frame = video_capture.read()

loxK avatar Feb 27 '18 07:02 loxK