Installing the oak-model-samples

Hello,

I’m using an OpenCv AI kit: OAK-D Camera to run a pose detection model (MobileNet-v2 Open Pose-based neural network).

I face difficulty in installing the pose detection model.
I’m using Win10, and Git Bash to run the Linux commands

So I’m trying to run this model:
MobileNet-v2 Open Pose based neural network

I’ve run the installation:
Installation

  • Install OpenVINO 2020.2 for your platform following the official instructions
    ALL GOOD! DONE THAT!

  • Download the wheel using GET MODEL button below
    I downloaded the model from here (where all Modelplace AI models are included in one folder):
    GitHub - opencv-ai/oak-model-samples

Continuing with the installation of the model

Set up a package:

  1.  pip3 install wheel && python setup.py bdist_wheel
      ALL GOOD! Installed!
    
  2. for /r %G in ("dist\*.whl") do pip3 install "%~G"
      Here is the problem. I run the command and I get the following error:
    

bash: syntax error near unexpected token '%G’

What is the % symbol?
I don’t know what it means in Git Bash and no references are available.
Searched symbols in Linux and Git Bash.

Any Ideas?

Thank you.

you’re probably meant to run that line from a simple win32 cmd.exe, not git bash

(%G is a variable, and %~G means: expand %G and remove all " from it)
((again, this is “dos” syntax, not “bash”))

can you link us to the install instructions, you’re using here, please ?

Thank you for the response.

Here is the link to the installation for the model:

I run the code in the Command Prompt and it works!!!
Thank you for that. It was not clear to me what I run where.

So I executed both steps 2. & 3.

  1. pip3 install wheel && python setup.py bdist_wheel
    DONE!
  2. for /r %G in ("dist\*.whl") do pip3 install "%~G"
    DONE!
  3. for /d %G in ("*.egg-info", "build\", "dist") do rd /s /q "%~G"
    DONE! All good!

Now when I try to continue the MobileNet-v2 Open Pose based neural network installation (modelplace.ai) and run the 3rd step:

  1. Install OpenVINO 2020.2 for your platform
    DONE!
  2. Download the wheel using GET MODEL button below
    JUST DID!!
  3. Install the package with pip3 install openvino_pose_estimation-*.whl
    Problem:
    ERROR: openvino_pose_estimation-*.whl is not a valid wheel filename.

Any Ideas?