---
title: "calibrateLabelingSubject"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738283/calibrateLabelingSubject"
format: markdown
---
# Description

Calibrates labeling subjects. Replaces deprecated command **calibrateCharacter**.

If no labeling subjects are selected, calibrates all labeling subjects in the scene. If one or more labeling subjects are selected, calibrates each one.

Calibration uses the entire play range unless the `-ranges` flag is used. See [calibrateLabelingSubjectOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736711) command to set calibration options.

## Functional area

Labeling

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `calibrateLabelingSubject [-ranges]` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `ranges` | 0 | — | — | Performs the calibration only over the selected time ranges. |

## Return value

void

## Examples

```plaintext
// Calibrate all labeling subjects in the scene.
calibrateLabelingSubject;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [calibrateLabelingSubjectOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736711)
- [calibrateSolvingSubject](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738723)
- [calibrateSolvingSubjectOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737136)