### Run First Application (OAK - Windows) Source: https://docs.luxonis.com/projects/api/en/latest/components/blobconverter Sets up and runs a generic neural network example application on an OAK device using Python on Windows. This involves cloning the repository, installing dependencies, and executing the main script. ```bash 1# Clone the repo 2git clone --depth 1 --branch main https://github.com/luxonis/oak-examples.git 3# Change directory to the generic-example 4cd oak-examples\neural-networks\generic-example\ 5# Install requirements 6pip install -r requirements.txt 7# Run the app and follow instructions to open the web viewer 8python main.py ``` -------------------------------- ### Deploy Example App with oakctl (OAK4) Source: https://docs.luxonis.com/projects/api/en/latest/components/blobconverter Deploys a generic neural network example application to an OAK4 device using the oakctl CLI. This process involves connecting to the device, cloning the example repository, and running the application. ```bash 1# Connect to the device 2oakctl connect 3# Clone the repo 4git clone --depth 1 --branch main https://github.com/luxonis/oak-examples.git 5# Change directory to the generic-example 6cd oak-examples/neural-networks/generic-example/ 7# Run the app and follow instructions to open the web viewer 8oakctl app run . ``` -------------------------------- ### Run First Application (OAK - Linux/MacOS) Source: https://docs.luxonis.com/projects/api/en/latest/components/blobconverter Sets up and runs a generic neural network example application on an OAK device using Python. This involves cloning the repository, creating a virtual environment, installing dependencies, and executing the main script. ```bash 1# Clone the repo 2git clone --depth 1 --branch main https://github.com/luxonis/oak-examples.git 3# Change directory to the generic-example 4cd oak-examples/neural-networks/generic-example/ 5# Create and enter virtual python environment 6python3 -m venv venv 7source venv/bin/activate 8# Install requirements into the environment 9pip install -r requirements.txt 10# Run the app and follow instructions to open the web viewer 11python3 main.py ``` -------------------------------- ### Install DepthAI and Clone Template App Source: https://docs.luxonis.com/projects/api/en/latest/components/blobconverter Install the core DepthAI Python package and clone the template application repository. This sets up the foundational environment for your project. ```bash pip install depthai --force-reinstall git clone https://github.com/luxonis/oak-template.git cd oak-template pip install -r requirements.txt ``` -------------------------------- ### Install oakctl CLI (Linux/MacOS) Source: https://docs.luxonis.com/projects/api/en/latest/components/blobconverter Installs the oakctl CLI tool on Linux and MacOS systems using a curl script. This tool is essential for managing and configuring OAK4 devices. ```bash 1bash -c "$(curl -fsSL https://oakctl-releases.luxonis.com/oakctl-installer.sh)" ``` -------------------------------- ### Template App Directory Structure Source: https://docs.luxonis.com/projects/api/en/latest/components/blobconverter Overview of the files and directories included in the template application. This structure provides a starting point for organizing your project files. ```text template-app/ ├── main.py ├── oakapp.toml ├── requirements.txt ├── media/ # Optional media files └── utils/ # Optional helper functions ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.