...
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 | ||
---|---|---|
| ||
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 | |
---|---|
| Shows all information the software. |
| Get results of top X predictions |