---
title: "fixOcclusion"
canonical: "https://help.vicon.com/space/ShogunPost115/276204156/fixOcclusion"
format: markdown
---
# Description

fixOcclusion performs occlusion fixing using the latest Axiom algorithms. This is the same occlusion fixing that is used by [quickPost](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276207299), but enables occlusion fixing to be run as a discrete step.

Processes a capture over the entire play range unless the -ranges or `-currentFrame` flag is used.

To set the options for occlusion fixing, use the [fixOcclusionOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276206155) command.

## Functional area

Data editing

# Command syntax

## Syntax

|  |
| --- |
| `fixOcclusion [-ranges] [-currentFrame]` |

### Arguments

None

> Macro (scroll-pagebreak)

### Flags

> Macro (scroll-tablelayout)

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `ranges` | – | – | currentFrame | Performs occlusion fixing on only the selected range(s) of the current capture using Axiom algorithms. |
| `currentFrame` | – | – | ranges | Performs occlusion fixing on only the current frame of the current capture using Axiom algorithms. |

## Return value

void

# Additional information

## Related commands

- [fixOcclusionOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276206155)