question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] {Bullseye Running Example from the Start ** Oak-1 **}

See original GitHub issue

Check if issue already exists I looked online and in the error sections on this repo. for ideas about running this hardware and software on the Debian Bullseye desktop I have currently.

Everything compiles correctly. I added the udev rules also and then removed the USB from the host and reinserted it. Notta.

Describe the bug The first example in the docs. section does not run: python3 depthai_demo.py

To Reproduce Steps to reproduce the behavior:

  1. python3 depthai_demo.py
[0] 14442C1071C847D700 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
Disabling depth...
No previews available, adding color...
Downloading /home/torcha/.cache/blobconverter/mobilenet-ssd_openvino_2021.4_6shave.blob...

After some info. about software packaging lines and errors, I get this output.

requests.exceptions.ConnectionError: HTTPConnectionPool(host='blobconverter.luxonis.com', port=80): Max retries exceeded with url: /compile?version=2021.4 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b67fd0c70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

Expected behavior I expected the demo to run as is…

Screenshots I do not have any screenshots yet.

Attach system log

./log_system_information.py 
Defaulting to user installation because normal site-packages is not writeable
Collecting pyusb
  Downloading pyusb-1.2.1-py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 2.0 MB/s 
Installing collected packages: pyusb
Successfully installed pyusb-1.2.1
{
    "architecture": "64bit ELF",
    "machine": "x86_64",
    "platform": "Linux-5.10.0-9-amd64-x86_64-with-glibc2.31",
    "processor": "",
    "python_build": "default Feb 28 2021 17:03:44",
    "python_compiler": "GCC 10.2.1 20210110",
    "python_implementation": "CPython",
    "python_version": "3.9.2",
    "release": "5.10.0-9-amd64",
    "system": "Linux",
    "version": "#1 SMP Debian 5.10.70-1 (2021-09-30)",
    "win32_ver": "",
    "uname": "Linux pack 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64",
    "packages": [
        "argcomplete==1.12.1",
        "blobconverter==1.0.0",
        "boto3==1.18.58",
        "botocore==1.21.58",
        "Brlapi==0.8.2",
        "certifi==2020.6.20",
        "chardet==3.0.4",
        "chrome-gnome-shell==0.0.0",
        "cupshelpers==1.0",
        "cycler==0.10.0",
        "dbus-python==1.2.16",
        "depthai==2.10.0.0.dev0+7a0749a61597c086c5fd6e579618ae33accec8df",
        "-e git+https://github.com/luxonis/depthai.git@2d13ccf734eba8b4ffd5e5845fef0f966f52db3f#egg=depthai_sdk&subdirectory=depthai_sdk",
        "distro==1.5.0",
        "distro-info==1.0",
        "feedparser==5.2.1",
        "ffmpy3==0.2.4",
        "httplib2==0.18.1",
        "idna==2.10",
        "jmespath==0.10.0",
        "kiwisolver==1.3.1",
        "louis==3.16.0",
        "Mako==1.1.3",
        "MarkupSafe==1.1.1",
        "matplotlib==3.3.4",
        "musicbrainzngs==0.7.1",
        "mutagen==1.45.1",
        "numpy==1.19.5",
        "olefile==0.46",
        "opencv-contrib-python==4.5.1.48",
        "opencv-python==4.5.1.48",
        "Pillow==8.1.2",
        "pip==21.2.4",
        "pycairo==1.16.2",
        "pycups==2.0.1",
        "pycurl==7.43.0.6",
        "PyGObject==3.38.0",
        "pyinotify==0.9.6",
        "pyparsing==2.4.7",
        "PySimpleSOAP==1.16.2",
        "pysmbc==1.0.23",
        "python-apt==2.2.1",
        "python-dateutil==2.8.1",
        "python-debian==0.1.39",
        "python-debianbts==3.1.0",
        "pytube==11.0.1",
        "pyusb==1.2.1",
        "pyxdg==0.27",
        "PyYAML==5.4.1",
        "quodlibet==4.3.0",
        "reportbug==7.10.3+deb11u1",
        "requests==2.24.0",
        "s3transfer==0.5.0",
        "setuptools==52.0.0",
        "six==1.16.0",
        "unattended-upgrades==0.1",
        "urllib3==1.25.11",
        "wheel==0.34.2",
        "xdg==5"
    ],
    "usb": [
        {
            "port": 1,
            "vendor_id": "0x8087",
            "product_id": "0x8000",
            "speed": "High"
        },
        {
            "port": 0,
            "vendor_id": "0x1d6b",
            "product_id": "0x0002",
            "speed": "High"
        },
        {
            "port": 1,
            "vendor_id": "0x8087",
            "product_id": "0x8008",
            "speed": "High"
        },
        {
            "port": 0,
            "vendor_id": "0x1d6b",
            "product_id": "0x0002",
            "speed": "High"
        },
        {
            "port": 0,
            "vendor_id": "0x1d6b",
            "product_id": "0x0003",
            "speed": "Super"
        },
        {
            "port": 7,
            "vendor_id": "0x0bda",
            "product_id": "0x0184",
            "speed": "High"
        },
        {
            "port": 4,
            "vendor_id": "0x046d",
            "product_id": "0xc52f",
            "speed": "Full"
        },
        {
            "port": 13,
            "vendor_id": "0x0cf3",
            "product_id": "0xe004",
            "speed": "Full"
        },
        {
            "port": 12,
            "vendor_id": "0x03e7",
            "product_id": "0x2485",
            "speed": "High"
        },
        {
            "port": 1,
            "vendor_id": "0x046d",
            "product_id": "0xc318",
            "speed": "Full"
        },
        {
            "port": 0,
            "vendor_id": "0x1d6b",
            "product_id": "0x0002",
            "speed": "High"
        }
    ]
}
System info gathered successfully - saved as "log_system_information.json"

Additional context If you need any additional info, please reply. I cannot wait to get started using this camera.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
silver2rowcommented, Oct 11, 2021

Hello,

You were right. I needed git pull and to put blobconverter in PATH for Debian Bullseye.

Seth

P.S. The video popped up. https://blobconverter.luxonis.com works for me. It is working online.

0reactions
alex-luxoniscommented, Oct 11, 2021

CC @VanDavv @silver2row Have you updated the main branch with the latest? i.e do a git pull, then run python3 install_requirements.py

It works for me: python3 depthai_demo.py -cnn face-detection-retail-0004

Using depthai module from:  /home/x/.local/lib/python3.8/site-packages/depthai.cpython-38-x86_64-linux-gnu.so
Depthai version installed:  2.10.0.0.dev+7a0749a61597c086c5fd6e579618ae33accec8df
Available devices:
[0] 14642B10F13263A790 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
Downloading /home/x/.cache/blobconverter/face-detection-retail-0004_openvino_2021.4_6shave.blob...
[==================================================]
Done

Could you also check if https://blobconverter.luxonis.com is accessible in a web browser?

OpenVINO fixed their issue here: https://github.com/openvinotoolkit/open_model_zoo/pull/2792 We’ll pick the change as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bullseye Running
Competitive and non-competitive programs year round including Winter training, indoor track & field, outdoor track & field, XC Summer training ...
Read more >
Untitled
1973 pontiac catalina safari wagon, Xilinx clocking wizard phase error, ... Effective use cases examples, Kabe husbilar begagnade, Scherm automatisch ...
Read more >
OpenCV AI Kit Raspberry Pi Smart Camera - App 1 - YouTube
Today we are going to build our own real-time AI in Computer Vision surveillance camera using a raspberry Pi and the OpenCV AI...
Read more >
Untitled
Sextos sentidos chords, Hai tet tran thanh 2016 moi nhat, Start new year fresh, Meggy trang, Camposilvano vallarsa? Weather wittmann az 85361, ...
Read more >
Bullseye Running Club - Track and Field Outdoor 2023
Offering team management tools for coaches, meet registration for all, training tools for athletes, stats for parents & fans, and much more. Sign...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found