Versions Compared

Key

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

...

Tip

Deploy it on your render farm to use it in a post render process for labeling of elements.

How To

Simple Exampleusage: classifier {file}

Info

The result is in JSON format

Code Block
languagebash
classifier /path/to/file.mov

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

Multiple files

You can pass multiple file paths to the software

Code Block
classifier /path/to/file.mov /path/to/another/file.exr

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

Multiple results

Get the top X predicted categories by using the flag: --top {number}

Code Block
classifier -top 3 /path/to/file.mov

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


flag

--info

Shows all information the software.
It will list all categories that this version of the machine learning model can classify.

id - the identifier for the class from wikidata
human-readable - readable label
synonym - a list of different words for this class

--top {number}

Get results of top X predictions