...
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"}]} |
...
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"} ]} |
...