Python Forum
get webcam name from device manger !!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get webcam name from device manger !!
#2
solved :

import wmi
import re


c = wmi.WMI()
wql = "Select * From Win32_USBControllerDevice"
for item in c.query(wql):
    q = item.Dependent.Caption
    if re.findall("Camera",q):
        print(q)
    
    
Output:
HP Wide Vision HD Camera
Reply


Messages In This Thread
RE: get webcam name from device manger !! - by evilcode1 - Nov-03-2018, 06:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to receive webcam capture on spout? buzzdarkyear 2 2,692 Jan-12-2022, 02:26 PM
Last Post: buzzdarkyear
  Rotation Effect on live Webcam Feed Leziiy 0 1,632 Sep-12-2020, 04:25 PM
Last Post: Leziiy
  About Arduino and Python usb webcam tuts Simurg 1 2,196 Mar-20-2020, 07:25 PM
Last Post: Larz60+
  Reading UDP from external device without device software ikdemartijn 2 3,461 Dec-03-2019, 04:29 PM
Last Post: Larz60+
  Access webcam via python ArnabRoyBatman 1 4,327 Jun-15-2017, 05:19 AM
Last Post: j.crater
  Display device details i.e connected with more than one device shintonp 6 5,389 May-10-2017, 06:00 AM
Last Post: shintonp

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020