2.3 KiB
Data Collection: Quick Demo
Requirements
To follow this tutorial you need to clone this repository even if you want to create your Unity project from scratch. In fact, we need the ROS folder of the repository which is dependent of gitsubmodules (hence the command --recurse-submodules
).
Note For Windows users:
You need to have a software enabling you to run bash files. One option is to download GIT. During installation of GIT, add GIT Bash to windows context menu by selecting its option. After installation right click in your folder select GIT Bash Here (see attached pic).
Action: Open a terminal and put yourself where you want to host the repository.
git clone --recurse-submodules https://github.cds.internal.unity3d.com/unity/Pose-Estimation-Demo.git
Action: Install Unity 2020.2.*
.
Action: Open the completed project. In the Unity Hub, click the Add
button, and select PoseEstimationDemoProject
from inside the file location where you cloned this repo.
Setup
-
Action: Open the scene. Go to
Assets > Scenes
and double click onTutorialPoseEstimation
. -
Action: The size of the images that will be used for pose estimation depends on a setting in the Game view. Select the
Game
view and selectFree Aspect
. Then select the +, with the messageAdd new item
on it if you put your mouse over the + sign. For the Width select650
and for the Height select400
. A gif below shows you how to do it.
Data Collection
The project is set up for data collection by default, so you can get started without too much work. To see how, follow the instructions in phase 3: step 1 of the tutorial. This section will explain how to set the random seed of the environment, choose how many training data examples you'd like to collect, and get it running.
If you'd like to then move on to training a pose estimation model on the data you've collected, move on to phase 3: step 2.
Have fun!