Nodes/comfyui-arkennemasis/arkennemasis Calibrate (derive tolerances from a real set)
ComfyUI Node

arkennemasis Calibrate (derive tolerances from a real set)

Run every check across an EXISTING set of images and derive thresholds from measurement instead of guesswork. No generation, no spend. With operator labels it picks thresholds that separate accepted from rejected and reports the true current pass rate — which is a number worth having before building anything.

By Hishamahmer·Created about a month ago·Updated 9 days ago· 5
arkennemasis Calibrate (derive tolerances from a real set)
  • plate
  • report
  • tolerances_json
  • frame_tolerance
  • colour_tolerance_de
  • identity_tolerance
image_dir
plate_lock_json
labels_csv
targets_csv
percentile95.0
limit0
write_to
Categoryarkennemasis/Variation

Inputs (8)

NameTypeDefaultDescription
image_dirSTRINGFolder of already-produced images for this product.
plateIMAGEThe locked base plate.
plate_lock_jsonoptSTRING
labels_csvoptSTRINGOptional CSV of 'filename,label' where label is accept or reject. With it, thresholds are chosen to separate the two populations; without it the report is descriptive only.
targets_csvoptSTRINGOptional CSV of 'filename,region,hex' so the colour check has a per-image target.
percentileoptFLOAT95.050–100With no labels, thresholds are set at this percentile of the observed distribution.
limitoptINT00–10000Measure at most this many images. 0 = all.
write_tooptSTRINGOptional folder for calibration.json and the per-image measurements CSV.

Outputs (5)

NameTypeDescription
reportSTRING
tolerances_jsonSTRING
frame_toleranceFLOAT
colour_tolerance_deFLOAT
identity_toleranceFLOAT