Kivy,OpenCV, changing videocapture index to (0,cv2.CAP_DSHOW)

147 views
Skip to first unread message

abdabzeebop2 zippy

unread,
Jan 17, 2022, 1:41:59 PM1/17/22
to Kivy users support
Hi,

How do I access CV2.videocapture's optional index attribute with kivy and python? I need to set it as in the title. I'm hoping this will solve errors I'm getting in Python while trying to run the 'Webcam Photo Sharer' code from Udemy's 'Python OOP' course.

Thanks!

Robert

unread,
Jan 17, 2022, 4:06:04 PM1/17/22
to Kivy users support
We know nothing about the code you reference, best to ask Udermy.

Is this a question about Kivy Camera widget?
It has an index property to set the camera index.
Reply all
Reply to author
Forward
0 new messages