Install requirements on Windows¶
This tutorial provides steps to install DepthAI on a Windows 10 system
Install Python 3.9 from the Microsoft Store (direct link).
Once the installation is complete you need to disable the App Execution Aliases for both python.exe and python3.exe.
This can be done by going to start and typing
Manage appand choose the
Manage app execution aliasesentry.
From there you turn off the
App Installeralias for both python.exe and python3.exe.
Install Git. You can find the latest version here.
Install CMake. You can find the latest version here.
Install Microsoft Visual Studio 2017 (direct download link here)
The 2017 version is specifically required to build the OpenCV Python package from PyPI
Note that you only need Windows 10 SDK, Visual C++ for CMake and VC++ 2017, not the whole package (see an image below)
Open Windows PowerShell
You can do that by typing PowerShell in the searchbar
Latest pip version is required in order to correctly install PyPI requirements.
To upgrade pip, type the following command in the powershell
python3.exe -m pip install -U pip
After successful install, you should see pip installed in the latest version
Run the DepthAI demo code
See Verify installation for details
We’re always happy to help with code or other questions you might have.