Hello,

I received an OAK-FFC-6P and when I plug it in and try to run cam_test.py it says the device is not recognized. Running other scripts also errors out saying no depthAI device is recognized.

When I received the OAK-FFC-3P all I had to do was plug it in and the device was recognized. The OAK-FFC-6P seems a bit different in its, design, is there something I have to do before I can use it?

I am using this as a guide - https://docs.luxonis.com/projects/hardware/en/latest/pages/DM3390/#getting-started

But when running cam_test.py the device is just not recognized. I have the usb-c cable plugged in along with the barrel 5V cable. Is there anything else I need to do?

It seems to be connected when I run the usb profiler on mac

  USB 3.1 Bus:

      Host Controller Driver: AppleT8112USBXHCI

        RNDIS/Ethernet Gadget:

          Product ID: 0xa4a2

          Vendor ID: 0x0525  (PLX Technology, Inc.)

          Version: 5.10

          Speed: Up to 480 Mb/s

          Manufacturer: Linux 5.10.32-intel-standard with dwc3-gadget

          Location ID: 0x02100000 / 1

          Current Available (mA): 500

          Current Required (mA): 2

          Extra Operating Current (mA): 0

But when I run cam_test.py I get

Enabled cameras:

    rgb : color

   left : mono

  right : mono

   camd : color

DepthAI version: 2.22.0.0

DepthAI path: /opt/homebrew/Caskroom/miniconda/base/envs/DepthAIEnv39/lib/python3.9/site-packages/depthai.cpython-39-darwin.so

Traceback (most recent call last):

  File "/Users/feroze/DepthAI/depthai-python/utilities/cam_test.py", line 271, in <module>

    with dai.Device() as device:

RuntimeError: No available devices

do I have to put an SD card in it, or add a coin battery into the coin battery slot to get it to work?

Nearpoint You are not using the correct library (looking at DepthAI version: 2.22.0.0 ), after switching to rvc3_develop branch you also need to install correct library by executing examples/install_requirements.py.
Thanks, Erik

    erik

    depthai-sdk 1.13.1 requires depthai==2.22.0, but you have depthai 2.23.0.0 which is incompatible.

    which version of depthai-sdk will work with depthai 2.23.0.0

      Nearpoint

      (DepthAIEnv39) feroze@Ferozes-MBP utilities % python3 cam_test.py

      Enabled cameras:

          rgb : color

         left : mono

        right : mono

         camd : color

      DepthAI version: 2.23.0.0

      DepthAI path: /opt/homebrew/Caskroom/miniconda/base/envs/DepthAIEnv39/lib/python3.9/site-packages/depthai.cpython-39-darwin.so

      Traceback (most recent call last):

        File "/Users/feroze/DepthAI/depthai-python/utilities/cam_test.py", line 271, in <module>

          with dai.Device() as device:

      RuntimeError: No available devices

      erik

      I notice in the instruction it uses

      DepthAI version: 2.19.1.0.dev+c5fd7c993a3d446f6b9fdb54653cb49c7523534f

      But when I run python3 install_requirements.py I do not get that depthai version, in fact it just keeps whatever depthai version I already have

        Nearpoint

        How can I fix:

        Installing collected packages: depthai

        ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

        depthai-sdk 1.13.1 requires depthai==2.22.0, but you have depthai 2.22.0.0.dev0+acdd2024533cf8375db55c3d3137bf4ce750c54a which is incompatible.

        erik

        Ok so I deleted the python package cache, uninstalled depthai and depthai-sdk

        I ran python3 install_requirements in the examples folder and everything installed successfully.

        Still it is not recognizing the device here it the output:

        (DepthAIEnv39) feroze@Ferozes-MBP utilities % python3 cam_test.py

        Enabled cameras:

            rgb : color

           left : mono

          right : mono

           camd : color

        DepthAI version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a

        DepthAI path: /Users/feroze/.local/lib/python3.9/site-packages/depthai.cpython-39-darwin.so

        Traceback (most recent call last):

          File "/Users/feroze/DepthAI/depthai-python/utilities/cam_test.py", line 271, in <module>

            with dai.Device() as device:

        RuntimeError: No available devices

        Still can not get the device to be recognized after starting with a fresh environment and codebase, switched to the rvc3_develop branch and installed the requirements in examples/install_requirements.py and utilities/install_requirements.py

        But I still can not get the device to recognize. What do I do now?

        (rvc3) feroze@Ferozes-MBP utilities % python3 cam_test.py

        Enabled cameras:

            rgb : color

           left : mono

          right : mono

           camd : color

        DepthAI version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a

        DepthAI path: /Users/feroze/.local/lib/python3.11/site-packages/depthai.cpython-311-darwin.so

        Traceback (most recent call last):

          File "/Users/feroze/RVC3/depthai-python/utilities/cam_test.py", line 278, in <module>

            with dai.Device() as device:

                 ^^^^^^^^^^^^

        RuntimeError: No available devices

        (rvc3) feroze@Ferozes-MBP utilities % git branch

          main

          origin/rvc3_develop

        * rvc3_develop

        Here is the no devices error with the debug level env variable added:

        (rvc3) feroze@Ferozes-MBP utilities % DEPTHAI_LEVEL=debug python3 cam_test.py --cameras rgb,c

        [2023-10-10 09:31:41.221] [depthai] [debug] Python bindings - version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a from 2023-09-21 16:40:52 +0300 build: 2023-09-21 13:57:52 +0000

        [2023-10-10 09:31:41.221] [depthai] [debug] Library information - version: 2.22.0, commit: 1c35bec502b32c36f3eb9996e83044709e88f32e from 2023-09-21 16:17:23 +0300, build: 2023-09-21 13:57:50 +0000

        [2023-10-10 09:31:41.226] [depthai] [debug] Initialize - finished

        Enabled cameras:

            rgb : color

        DepthAI version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a

        DepthAI path: /Users/feroze/.local/lib/python3.11/site-packages/depthai.cpython-311-darwin.so

        [2023-10-10 09:31:41.287] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.26.tar.xz' open: 2ms, archive read: 62ms

        [2023-10-10 09:31:41.553] [depthai] [debug] Resources - Archive 'depthai-device-fwp-76532066ec0f87f63db465974dfbff71163da5ca.tar.xz' open: 2ms, archive read: 329ms

        Traceback (most recent call last):

          File "/Users/feroze/RVC3/depthai-python/utilities/cam_test.py", line 278, in <module>

            with dai.Device() as device:

                 ^^^^^^^^^^^^

        RuntimeError: No available devices

        • erik replied to this.