I’m going in circles trying to install depthai. I was able to get opencv to install.
import cv2 as cv
print(cv.version)
This worked. I’m on version 3.2.0
I was successfully able to install depthai version number 2.1 5.0.0
But this command seems to like to wipe things out.
jimmy@NX1:~/depthai$ python3 install_requirements.py
ip 21.3.1 from /home/jimmy/.local/lib/python3.6/site-packages/pip (python 3.6)
Requirement already satisfied: pip in /home/jimmy/.local/lib/python3.6/site-packages (21.3.1)
WARNING: Skipping opencv-python as it is not installed.
WARNING: Skipping opencv-contrib-python as it is not installed.
Found existing installation: depthai 2.15.0.0
Uninstalling depthai-2.15.0.0:
Successfully uninstalled depthai-2.15.0.0
I don’t why it uninstalled depthai-2.15.0.0
It does the same thing with the opencv-python and opencv-contrib-python
So I guess right now I’m stuck here.
Any help on this step would be greatly appreciated but again, I know I’m going do you have more questions going forward regarding the implementation of this camera and the models. And currently my time is somewhat valuable so again if there is anyone that is interested in getting paid to walk me through these things and explain to me conceptually how the system works I would be happy to pay for that.
indeed, it does that (probably to get rid of outdated installed versions)
however, opencv will get reinstalled from requirements.txt, and the depthai code will get downloaded from github
#Download and install the dependency package
sudo wget -qO- https://docs.luxonis.com/install_dependencies.sh | bash
#Clone github repository
git clone https://github.com/luxonis/depthai-python.git
cd depthai-python