Skip to main content
Version: 25.1

templates.ImagePatchComparatorTemplateSchema

class templates.ImagePatchComparatorTemplateSchema(*args, **kwargs)

Image Patch Comparator template

Parameters

NameTypeDefaultInfo
image_embedding_fieldstrField containing the image embedding.
image_pathstrImage path.
bboxList[float]Bounding box.
operatorstring>=Operator.
min_similarityfloat0.5Minimum similarity threshold.

artifact_config_keys

static artifact_config_keys()

The names of the fields in the template schema pydantic model that represent paths to files or directories that contain data which back the LF template. For example, paths to a dictionary on disk that’s used within an LF.

Return type

List[str]