# Step 2. Set Mocap Zone

The second step in the setup process is to calibrate MOVIN TRACIN so that it can accurately understand the layout of your physical space.

{% embed url="<https://youtu.be/Wm6vdr3L2Lk?t=249>" %}

## Brief Introduction to the Display

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2F58j8ptnSnJjyRIGCwbt1%2Fimage.png?alt=media&#x26;token=c0883495-0360-4b53-b9f3-3d887c513d8e" alt=""><figcaption><p>Display of Step 2. Set Mocap Zone</p></figcaption></figure>

### Center Panel

* Top: Front and Side Views of the Ground
  * The front and side data of the ground measured by MOVIN TRACIN are displayed as a point cloud.
  * <mark style="background-color:$primary;">**A gray line**</mark> is shown at the center of both views, which is used for accurate ground alignment.
    * The point cloud is displayed in <mark style="background-color:$danger;">**red**</mark> when it is positioned too far below or above the gray line, and in <mark style="background-color:$success;">**green**</mark> when it is located just below the gray line. Please adjust the setup so that the point cloud is positioned just below the gray line.
  * The selected view (front or side) is highlighted with a green border.
* Bottom: 3D View of the Ground
  * The rectangular box in the center represents the Mocap Zone. MOVIN TRACIN detects and records human movement within this area.
  * At the top-left of the bottom section, you can select between LiDAR and LiDAR & Camera options.
    * When LiDAR & Camera is selected, point clouds captured by the camera within the Mocap Zone are displayed as thick points, while point clouds that are either outside the Mocap Zone but visible to the camera, or inside the Mocap Zone but not captured by the camera, are displayed as thin points.
      * This option allows you to better understand how the device is recognizing the surrounding environment.
    * When LiDAR is selected, only the point clouds within the Mocap Zone are displayed as thick points.
      * This makes it easier to check if any objects other than the floor are being detected within the Mocap Zone.
  * The rectangle in front of the TRACIN device displays the current camera view.

### Right Panel

* Click “Front View” or “Side View” to select a perspective and adjust the point cloud accordingly.
* Use the navigation buttons to move the point cloud vertically or rotate the view.
* Adjust the Height slider to set the vertical size of the capture volume.
* Drag the border lines of the mocap zone controller to adjust the size of the motion capture area.
* If you want to adjust the center of the mocap zone, drag the circular handle.
  * The center of the mocap zone is the place where the user should stand when starting motion capture.

### Recommended Steps for Setting Up the Mocap Zone

{% stepper %}
{% step %}

### Remove all objects from the mocap zone.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2FrTh0cileI1U4wd8FTBLz%2Fremove-all-objects.gif?alt=media&#x26;token=2bd2778f-6877-454b-9b3f-f7dd9eb3fd2a" alt=""><figcaption><p>Remove all objects from the mocap zone.</p></figcaption></figure>

* To start motion capture, the mocap zone must be completely cleared.
* Please remove all objects inside the mocap zone.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2FUv1XNKS41dL6pAX6hj2S%2Fsetup2_obstacle.gif?alt=media&#x26;token=86dfd370-0f1c-4391-9cae-1d7fa7c63c23" alt=""><figcaption><p>If there are objects in the motion capture area that cannot be removed, please reduce the size of the motion capture area.</p></figcaption></figure>

* If there are objects in the motion capture area that cannot be removed, please reduce the size of the motion capture area refering to [#drag-the-border-lines-and-the-circle-line-to-define-the-width-and-length-of-the-capture-volume-in-th](#drag-the-border-lines-and-the-circle-line-to-define-the-width-and-length-of-the-capture-volume-in-th "mention").
  {% endstep %}

{% step %}

### Drag the border lines and the circle line to define the width and length of the capture volume in the right panel.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2FoCSaUN7eSr7WUqq00Vdj%2Fsetup2_mocapzoneadjust.gif?alt=media&#x26;token=61a12ba6-908a-40ae-aa54-cc3df8ef1f93" alt=""><figcaption><p>Drag the circlular handle and border lines to define the mocap zone.</p></figcaption></figure>

* In the mocap zone controller on the right panel, drag the border lines to set the width and depth, and move the circular handle to adjust the center of the mocap zone.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2FzgEDTpuaJemC5MM76ZYt%2Fimage.png?alt=media&#x26;token=a334cc37-5fea-40df-a17e-d768549328dd" alt=""><figcaption></figcaption></figure>

* The motion capture zone can be set between a minimum of 1m (width) x 1m (depth) x 1.5m (height) and a maximum of 5m (width) x 5m (depth) x 3m (height).
* The minimum distance from MOVIN TRACIN to the mocap zone is 1.2m.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2Fg0MSqxM1M9bcR62oFjCH%2Fimage.png?alt=media&#x26;token=72b24ff1-f2bc-484a-8154-67fea438b652" alt=""><figcaption></figcaption></figure>

* The mocap zone can be offset from its center by a minimum of 0.5m and a maximum of 2.5m.
* The center of the mocap zone can be positioned between 1.5m and 5.5m from TRACIN.
  {% endstep %}

{% step %}

### Use the 'Height' Slider bar to adjust the height of the mocap zone.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2FlpeZrWdlRYhtkRaJiiqL%2Fsetup2_heightadjust.gif?alt=media&#x26;token=7726e8d8-ca96-4769-bb81-61b78141972c" alt=""><figcaption></figcaption></figure>

* If the ceiling is detected within the mocap zone, it will appear as a <mark style="background-color:$danger;">**red**</mark> point cloud as shown in the image above.
* In this case, reduce the height using the 'Height' slider bar to exclude it.
  {% endstep %}

{% step %}

### Adjust the point cloud to be positioned just below the gray line in both the Front View and Side View.

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2F4EvpnPfob0BzRg0zGWav%2Fsetup2_frontsideviewadjust.gif?alt=media&#x26;token=c9ace615-d2d2-4261-a6cf-f1b4b5c7bdaa" alt=""><figcaption><p>Move and rotate the point cloud to align it with the gray reference box.<br>Repeat the adjustment in both front and side views for optimal accuracy.</p></figcaption></figure>

* Use 'Front' and 'Side'  buttons to switch to the ground's front view or side view.
* In the right panel, click the clockwise or counterclockwise buttons to adjust the point cloud so that it is <mark style="background-color:$primary;">**as horizontal as possible**</mark>.&#x20;
* Use the translation buttons to move the point cloud up or down so it is positioned <mark style="background-color:$primary;">**right below the gray line**</mark>.&#x20;
* Repeat the adjustment in both the front and side views.
  {% endstep %}

{% step %}

### Click the 'save' button to store the zone setting.&#x20;

<figure><img src="https://935889915-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpjitYtIcckwQaYBZMIj0%2Fuploads%2FPrYi98LJoiSYD8cKeSZ4%2Fsetup2_fail_cleanupmocapzone.gif?alt=media&#x26;token=7e751b91-9532-44e2-9b16-49fde4da566f" alt=""><figcaption><p>If there are objects in the mocap zone, please move them outside.</p></figcaption></figure>

* If there are still objects inside the mocap zone, the point cloud will remain red, and you will not be able to proceed to the next step.
  * Click the ‘Edit’ button, adjust the mocap zone to ensure no objects remain inside, and then click the 'save' button again.
    {% endstep %}

{% step %}

### Click the 'Next' button in the right panel

* The 'Next' button will only appear when there are no red point clouds inside the mocap zone.&#x20;
* Click this button to proceed to the next step.
  {% endstep %}
  {% endstepper %}
