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

How can I take input from IP cam or from usb cam ? #3

Open
Ajinkz opened this issue Apr 12, 2019 · 1 comment
Open

How can I take input from IP cam or from usb cam ? #3

Ajinkz opened this issue Apr 12, 2019 · 1 comment

Comments

@Ajinkz
Copy link

Ajinkz commented Apr 12, 2019

I'm using Panasonic IP camera model: BL-C131/C111
Logitec USB camera model: C170

I faced this error while trying to run the code using cmd line arg -s 1 instead of 0

(face3) E:\clients\Assets\FR_Infogen_v3\server\Threading>python thread_demo.py -s 1
warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901)
warning: 1 (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:902) 

I want to aslo know how can I use video stream from IP cam as source.

@nrsyed
Copy link
Owner

nrsyed commented Apr 12, 2019

I haven't used IP cameras myself, but I came across this SO question that suggests you need to provide the URL/IP address of the IP cam: https://stackoverflow.com/questions/49978705/access-ip-camera-in-python-opencv

Let me know if that works.

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