On this page
models.path
Returns the path from a source model produced by models.set, or looks up a legacy two-argument model name (default name: primary).
Syntax
Atlas Script
models.path(model_or_name?)Parameters
model_or_nameOptional- Source model returned by models.set, or a legacy model name accepted by models.path.
Return value
Returns the path from a source model produced by models.set, or looks up a legacy two-argument model name (default name: primary).
Remarks
Returns the path from a source model produced by models.set, or looks up a legacy two-argument model name (default name: primary). Passing the configured live detector returned by vision.model generally yields an empty string; keep the source model when its path is needed.
Examples
Usage pattern
// Replace model_or_name with values described above.
models.path(model_or_name);