This is the command line tool from das-element for classification of image, sequence and movie files.
Deploy it on your render farm to use it in a post render process for labeling of elements.
How To
Simple usage: classifier {file}
The result is in JSON format
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
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}
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 |