After going through official documents DepthAi and modified some commands to install it on my pc(dependency script). Still facing issue with the first demo example(screenshot attached).
OS: Linux Mint 20.04.1 LTS
Started from here:
Dependencies mentioned in script:
sudo wget -qO- http://docs.luxonis.com/_static/install_dependencies.sh | bash
ran these commands instead of the script:
sudo apt install -y build-essential libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev ffmpeg libsm6 libxext6 libgl1-mesa-glx
Then tried PyPi install:
pip3 install depthai
Testing the demo:
git clone https://github.com/luxonis/depthai-python.git
pip3 install opencv-python-contrib
Sadly didn't work was getting this error: Screenshot attached above
RuntimeError: Failed to find device (ma2480), error message: X_LINK_DEVICE_NOT_FOUND
So I tried to build from source:
sudo apt-get -y install cmake libusb-1.0-0-dev build-essential
git submodule update --init --recursive
python3 setup.py develop
Still same error.
So to check whether it is a device issue or device inserted properly,
I tried checking first in linuxmint with command
usb-device. Detected with no issue.
I tried installing it in Windows 10, it worked properly without any issue.