Skip to content

augmentedstartups/smartb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bike-vision

Setting up OAK Device

After connecting the OAK device, follow these steps:

  1. If you are using the OAK device for the first time, you need to configure the rules first. Run the following commands in the terminal:

    echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
    sudo udevadm control --reload-rules && sudo udevadm trigger

Running the Model

  1. Create virtual environment:

     conda create -n <name_of_virtualenv> python==3.9

    or

    python3 -m venv <name_of_virtualenv>
  2. Activate the environment using the following command:

     source /name_of_virtualenv/bin/activate

    if conda env:

    conda activate name_of_virtualenv
  3. Navigate to the project directory:

    cd <project directory>
  4. Intall the requirements.

    pip install -r requirements.txt
  5. Run the following command to execute the model:

    python main.py --model weights/yolov8n_openvino_2022.1_6shave.blob --config weights/yolov8n.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages