You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The camera is connected and I can open it using the default camera app in windows 10.
If I use:
import win32com.client
wmi = win32com.client.GetObject ("winmgmts:")
for usb in wmi.InstancesOf ("Win32_USBHub"):
print(usb.DeviceID)
It returns:
USB\VID_0BDA&PID_5830\200901010001
when I run:
python main.py
It returns:
INFO:P2Pro.recorder:Starting video recording to file test.mkv ...
Traceback (most recent call last):
File "C:\path\P2Pro-Viewer-main\main.py", line 25, in
cam_cmd = P2Pro_CMD.P2Pro()
File "C:\path\P2Pro-Viewer-main\P2Pro\P2Pro_cmd.py", line 84, in init
raise FileNotFoundError("Infiray P2 Pro thermal module not found, please connect and try again!")
FileNotFoundError: Infiray P2 Pro thermal module not found, please connect and try again!
The problem is in line 84: self._dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)
I tried this line only
import usb.core
dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)
print(dev)
It returns:
None
Please help.
The text was updated successfully, but these errors were encountered:
The camera is connected and I can open it using the default camera app in windows 10.
If I use:
import win32com.client
wmi = win32com.client.GetObject ("winmgmts:")
for usb in wmi.InstancesOf ("Win32_USBHub"):
print(usb.DeviceID)
It returns:
USB\VID_0BDA&PID_5830\200901010001
when I run:
python main.py
It returns:
INFO:P2Pro.recorder:Starting video recording to file test.mkv ...
Traceback (most recent call last):
File "C:\path\P2Pro-Viewer-main\main.py", line 25, in
cam_cmd = P2Pro_CMD.P2Pro()
File "C:\path\P2Pro-Viewer-main\P2Pro\P2Pro_cmd.py", line 84, in init
raise FileNotFoundError("Infiray P2 Pro thermal module not found, please connect and try again!")
FileNotFoundError: Infiray P2 Pro thermal module not found, please connect and try again!
The problem is in line 84: self._dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)
I tried this line only
import usb.core
dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)
print(dev)
It returns:
None
Please help.
The text was updated successfully, but these errors were encountered: