Bharath Thiruveedula
Bharath Thiruveedula

Reputation: 401

How can I access my webcam using python or c

I want to create a GUI application which will access the local webcam and provide a feature of taking the snapshot from the stream . I want to develop this application using C/python . can anyone tell me how can I access my local webcam.

Upvotes: 1

Views: 446

Answers (3)

waitingkuo
waitingkuo

Reputation: 93964

In Linux, you can use v4l2 by which you can get the full control of your webcam.

Upvotes: 0

Yue
Yue

Reputation: 21

You can try VideoCapture, it is "A Win32 Python Extension for Accessing Video Devices".

Upvotes: 0

Christian Witts
Christian Witts

Reputation: 11585

You can use OpenCV which has Python bindings to capture webcam streams.

Upvotes: 2

Related Questions