Hierarchy

  • InferenceResultProps

Properties

customPalette?: string[]

Custom color palette for annotations. If not provided, uses the default palette. Should be an array of hex color strings (e.g. ['#FF0000', '#00FF00', '#0000FF']).

image?: Blob
onPredictError?: ((err) => void)

Type declaration

    • (err): void
    • Called when there is predict error.

      Parameters

      Returns void

showLabels?: boolean

Show labels for predicted annotations. Default is false.

Generated using TypeDoc