Hello! I purchased Oak-D Pro with an interest in computer vision, and after installing the software on Windows and running it, I encountered the error "[error] Camera not detected on socket: 0" I've connected both the power and USB using the Y-connector.

C:\Users\OEM\AppData\Local\Programs\DepthAI\depthai\launcher\launcher.py:75: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead

class Worker(QtCore.QThread):

HEAD detached at v3.4.0

Changes not staged for commit:

(use "git add/rm <file>..." to update what will be committed)

(use "git restore <file>..." to discard changes in working directory)

    deleted:    launcher/windows/build.ps1

    deleted:    launcher/windows/download_dependencies.ps1

    deleted:    launcher/windows/inno_setup.ps1

    deleted:    launcher/windows/installer_win64.iss

    deleted:    launcher/windows/src/create_shortcut.ps1

    deleted:    launcher/windows/src/prerequisite.ps1

    deleted:    launcher/windows/version.txt

no changes added to commit (use "git add" and/or "git commit -a")

Current commit: 32879ee51f2bf87069ee468de9fd988df0629657

Current tag: v3.4.0

Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0']

Current tag: v3.4.0, ver: 3.4.0

Using depthai module from: C:\Users\OEM\AppData\Local\Programs\DepthAI\venv\lib\site-packages\depthai.cp39-win_amd64.pyd

Depthai version installed: 2.20.2.0

Setting up demo...

Available devices:

[0] 1944301031D69A2E00 [X_LINK_UNBOOTED]

USB Connection speed: UsbSpeed.SUPER

Disabling depth...

Disabling depth preview...

Disabling depthRaw preview...

Disabling left preview...

Disabling rectifiedLeft preview...

Disabling right preview...

Disabling rectifiedRight preview...

IR drivers found on OAK-D Pro: ['LM3644 on bus 2']

--> Go to the `Depth` tab to enable!

[1944301031D69A2E00] [1.7] [1.375] [ColorCamera(0)] [error] Camera not detected on socket: 0

    Hi info
    Looks like the device is properly recognized; could you try running cam_test.py (under depthai-python/utilities directory) and post the terminal output?

    Thanks,
    Jaka

    Thank you for your response. @jakaskerl
    I cloned depthai-python repo, but when I tried to run cam_test.py, I encountered the following error.

    Enabled cameras:

    rgb : color

    left : mono

    right : mono

    camd : color

    DepthAI version: 2.22.0.0

    DepthAI path: C:\Python311\Lib\site-packages\depthai.cp311-win_amd64.pyd

    Traceback (most recent call last):

    File "C:\Users\OEM\depthai-python\utilities\cam_test.py", line 162, in <module>

    '1012': dai.ColorCameraProperties.SensorResolution.THE_1352X1012,
    
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    AttributeError: type object 'depthai.SensorResolution' has no attribute 'THE_1352X1012'

    Hi @info
    Run python3 install_requirements.py inside the examples folder. This should update depthai to the latest version.

    Thanks,
    Jaka

    • info replied to this.

      jakaskerl I have already run install_requirements.py and executed it. Even after running it again, the issue persists when I try to run **cam_test.py

      Enabled cameras:**

      **`rgb : color`**

      left : mono

      right : mono

      camd : color

      DepthAI version: 2.22.0.0

      DepthAI path: C:\Python311\Lib\site-packages\depthai.cp311-win_amd64.pyd

      Traceback (most recent call last):

      File "C:\Users\OEM\depthai-python\utilities\cam_test.py", line 162, in <module>

      **`'1012': dai.ColorCameraProperties.SensorResolution.THE_1352X1012,`**
      
              **`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`**

      AttributeError: type object 'depthai.SensorResolution' has no attribute 'THE_1352X1012'

        Hi info

        info DepthAI version: 2.22.0.0

        This is not the latest version. Do a git pull (update the repo and rerun the install_requirements.py). Latest version should be 2.23.0.

        Thanks,
        Jaka

        • info replied to this.