Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i change the source from webcam to RTSP IP camera? #24

Open
htaufik opened this issue Jun 16, 2021 · 2 comments
Open

Can i change the source from webcam to RTSP IP camera? #24

htaufik opened this issue Jun 16, 2021 · 2 comments

Comments

@htaufik
Copy link

htaufik commented Jun 16, 2021

When i change cap = WebcamVideoStream(src=0).start() to cap = cv2.VideoCapture("rtsp://192.168.150.79:11083") and run the code, it says src is not a numerical tuple ERROR:flask.app:Exception on /live [GET]

what should i do?

@tamerthamoqa
Copy link
Owner

Hello htaufik,

I am not sure to be honest, does cap = WebcamVideoStream(src="rtsp://192.168.150.79:11083").start() work?

@htaufik
Copy link
Author

htaufik commented Jun 17, 2021

It works, but the frame size is too large. I'm trying to edit the next line in cv2.resize but doesn't give effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants