NickNikzad

  • Mar 28, 2024
  • Joined Jun 12, 2023
  • 0 best answers
  • I followed the provided instructions at https://docs.luxonis.com/en/latest/pages/tutorials/deploying-custom-model/ before requesting support. I successfully converted our customized YOLOv5 model to a blob format. However, I encountered an issue when deploying the blob model on the OAK-CM4; it does not detect any objects, even though the model works fine on the local system.

    I would greatly appreciate it if you could provide a sample that demonstrates how to deploy a customized YOLOv5 model on the OAK-CM4 and how we can adjust parameters such as the confidence threshold and intersection over union (IoU) threshold for object detection.

    • jakaskerl Thanks for the reply. Could you assist me in understanding how to perform port forwarding and set up VNC on the cloud? In my local network, the IP range is 10.1.1.x with a subnet mask of 255.255.255.0. All devices are linked to a switch before connecting to two separate PCs.

      • Hi

        Thank you for your response. In my case, I have the OAK-D CM4 PoE version. Should I consider opening the case to directly connect a monitor, mouse, and keyboard? Another concern I have is how to utilize it within my local network with a different IP range. Changing the network IP range might be challenging since many other devices are already connected and operational.

        • I successfully established a connection between my laptop and the OAK-CM4 device using a VNC connection. In order to use it on our production system, I attempted to access my OAK-CM4 pi via VNC from a different network range, specifically 10.1.1.x, but encountered connection issues. To troubleshoot, I modified the RPi IP to 10.1.1.2, but regrettably, I am now unable to establish any access from my laptop. I would greatly appreciate any guidance or suggestions to resolve this matter.

          • I have received an OAK-D CM4 camera. After connecting via VNC, when I tried running the depthai-demo.py script, I encountered an error indicating a mismatch between the installed packages and the required ones. To resolve this issue, I attempted to update the packages by running the installation requirements, but unfortunately, I was unable to complete the update process due to a lack of internet connection. I would appreciate your assistance in guiding me on how to connect my device to the internet.

            • erik Thanks for your response. How about the OAK-D CM4 PoE camera model? Does it have a similar design and limitation in terms of the direct connection between VPU and CM4?

              • erik replied to this.
              • I recently acquired an OAK-D CM4 device. However, I can only run the depthai-demo.py script when connected via VNC to the Raspberry Pi CM4. Whenever I attempt to run it through the DepthAI app on Windows, I encounter the "no DepthAI device found" error. I'm wondering if there is a solution to this issue.

                • erik replied to this.
                • jakaskerl Thanks @jakaskerl now it is working completely on headless configuration. Here are the steps I followed:

                  1. Removed HDMI cable
                  2. Removed export DISPLAY=:0.0from .bashrc usingsudo nano ~/.bashrc
                  3. Installed xming X server
                  4. In PuTTY, I changed SSH setting -> X11 -> Enable X11 Forwarding

                  and on windows side set display for CMD, I followed following steps from this guide

                  1. set DISPLAY=127.0.0.1:0.0
                  2. ssh-Y<your_user_id>@<server_address>

                  Thanks for the support!