Skip to content
Discussion options

You must be logged in to vote

Richer than pass/fail. It returns an InspectionResult (src/vista/schema.py), which is already validated and tested:

  • image_score and threshold are separate fields. Callers can re-threshold (stricter for safety-critical parts) without re-running the model, and evaluation can sweep thresholds for AUROC from stored results.
  • defects is a list of regions with a bounding box in original-image pixels and a per-region score. label is optional because PatchCore is unsupervised: it knows where something is wrong, not what it is. A classifier can fill that in later without a schema change.
  • Masks are referenced by path (mask_path) rather than inlined, so a result stays small enough to log and store p…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by D-M-Pearman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants