Anomalib UDF

This UDF uses the OpenVINO inferencers provided by Anomalib to perform inference using trained/exported models.

Refer the below sample configuration to run the Anomalib UDF.

"udfs": [
          {
              "device": "CPU",
              "task": "classification",
              "inferencer": "openvino_nomask",
              "model_metadata": "/home/pipeline-server/udfs/python/anomalib_udf/stfpm/metadata.json",
              "name": "python.anomalib_udf.inference",
              "type": "python",
              "weights": "/home/pipeline-server/udfs/python/anomalib_udf/stfpm/model.onnx"
          }
      ]

Note: inferencer config parameter can be used to change b/w the default openivno inferencer provided by anomalib and the openvino_nomask inferencer which inherits from openvino inferencer.

More information on anomalib can be found here.