ClassificationNode

Overview

Classifies saved contour crops using a Vision Transformer model and annotates the original image.

Inputs

  • Original Image (GrayScaleImage)

  • Crops Directory (String)

  • Entropy Threshold (Float)

  • Temperature (Float)

  • Batch Size (Int)

Parameters

  • Entropy Threshold: min 0.0, max 5.0, default 1.0. Predictions above this entropy are marked as OOD

  • Temperature: min 0.1, max 3.0, default 1.5. Logit scaling before softmax; higher = softer probabilities

  • Batch Size: min 1, max 256, default 64. Number of crop images per inference batch

Outputs

  • Annotated Image (ColorImage)

  • Classification Count (Int)

  • Status (String)

Example

Run SaveContourCropsNode first, then point Crops Directory to its output.