Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

You can deploy it on your render farm to use it in a post-render process for labeling of elements.

Table of Contents


How To


Simple usage

Code Block
 classifier {file}
Code Block
languagebash
classifier /path/to/file.#.exr

# result:
{"/path/to/file.#.exr": [{"label": "fire", "description": "rapid oxidation of a material", "value": "Q3196"}]}

...

You can pass multiple file paths to the software.

Code Block
classifier {file1} {file2} {file3}
Code Block
languagebash
classifier /path/to/files.#.exr /path/to/another/file.mov

# result:
{"/path/to/files.#.exr": [{"label": "fire", "description": "rapid oxidation of a material", "value": "Q3196"}],
"/path/to/another/file.mov": [{"label": "torch", "description": "stick with a flaming end used as a source of light", "value": "Q327954"}]}

...

Info

The result is in JSON format. The default string format is Unicode.

File path gets returned as PosixPath with forwards slash, even for Windows.

Code Block
languagejson
{'/path/to/file.mov': [{
                          'value': 'Q327954',
                          'label': 'torch',
                          'description': 'stick with a flaming end used as a source of light'
                        }]}

...

flag

description

--info

Shows information the software.
List all categories that this version of the model can classify.

--top {number}

Get the top X predictions of labels.

Info

The first two predictions are probably the most significant ones.

--model

File path to another model file (.wit)

--filmstrip_frames

Set the number of frames of a filmstrip for a sequence of images or movie file.
default value: 36

higher value: takes longer, but this might give you a more different labels
lower value: faster, but might return less labels

Info

Example: for a sequence of 1000 frames only a number of frames get validated. This helps to speed up the process and still gets you a good result.

--debug

debugging mode

Troubleshooting

...