Skip to main content

AI-POWERED DOCS

What do you want to know?

Snapshots & Changelog

Parameter Snapshot

Every published version stores a parameter snapshot: the recipe and test-set parameters captured against a fixed, versioned schema, so a version holds the full structured content of what is inside it. Each version also has a README file that presents that snapshot in readable form.

A version has two snapshot files:

  • parameters/recipe/<version>.json — the recipe snapshot
  • parameters/testset/<version>.json — the test-set snapshot

Both carry a schema_version describing the shape of the file (currently 1.1). Fields use dot paths below; [] marks a list, so blocks[].type_config.labels[].name is the name of each label of each block.

Recipe snapshot

parameters/recipe/<version>.json

FieldTypeMeaning
schema_versionstringSchema shape version of this file.
extracted_atstringWhen the snapshot was taken.
recipe_namestringRecipe name.
descriptionstring | nullRecipe description.
plc_recipe_idinteger | nullPLC recipe ID.
meta_versionintegerRecipe metadata version.
database_versionintegerRecipe database version.
software_versionstringRecipe software version.
imaging.preview_image.shastringSHA of the preview image.
imaging.preview_image.pathstringPath of the preview image.
imaging.exposureinteger | nullExposure time.
imaging.gainnumber | nullSensor gain.
imaging.brightnessinteger | nullBrightness.
imaging.gammainteger | nullGamma.
imaging.focal_lengthnumber | nullFocal length.
imaging.focusnumber | nullFocus.
imaging.focus_distancenumber | nullFocus distance.
imaging.rotation_modeinteger | nullImage rotation mode.
imaging.acq_modeinteger | nullAcquisition mode.
imaging.hdr_mode_enabledboolean | nullHDR mode on/off.
imaging.led_modeinteger | nullLED lighting mode.
imaging.led_gaininteger | nullLED gain.
imaging.led_strobe_modeboolean | nullLED strobe on/off.
imaging.lens_correctboolean | nullLens-distortion correction on/off.
imaging.photometric_enabledboolean | nullPhotometric correction on/off.
imaging.photometric_modeinteger | nullPhotometric mode.
imaging.awb_redinteger | nullAuto white-balance red channel.
imaging.awb_greeninteger | nullAuto white-balance green channel.
imaging.awb_blueinteger | nullAuto white-balance blue channel.
imaging.awb_opboolean | nullAuto white-balance enabled.
imaging.calibration_pixels_per_unitnumber | nullCalibration scale (pixels per unit).
imaging.calibration_unitstring | nullCalibration unit.
imaging.trigger_debounceinteger | nullTrigger debounce.
imaging.trigger_delayinteger | nullTrigger delay.
imaging.rawobjectFull unparsed imaging source.
blocks[].block_typestringBlock type (alignment, classification, segmentation, measurement, ocr, unsupervised).
blocks[].uuidstringStable block identity.
blocks[].namestringBlock name.
blocks[].statusstringBlock status.
blocks[].is_enabledbooleanWhether the block runs.
blocks[].has_modelbooleanWhether a trained model is attached.
blocks[].search_area.search_area_idinteger | nullSearch-area ID.
blocks[].search_area.search_area_bboxlist of number | nullSearch-area bounding box.
blocks[].search_area.roi_regions[].bboxlist of numberROI bounding box.
blocks[].search_area.roi_regions[].anglenumberROI rotation angle.
blocks[].type_configobjectType-specific configuration (see below).
blocks[].model_ref.shastringTrained model file SHA.
blocks[].model_ref.pathstringTrained model file path.
blocks[].model_ref.file_extensionstringTrained model file extension.
aligner_reference_image.shastringAlignment reference image SHA.
aligner_reference_image.pathstringAlignment reference image path.
aligner_reference_image.full_repo_pathstringAlignment reference image path within the repo.
node_red_flow.basic_modebooleanWhether the flow is in basic mode.
node_red_flow.basic_flow_idstring | nullBasic-mode flow ID.
node_red_flow.basic_flow_metadataobject | nullBasic-mode flow metadata.
node_red_flow.nodes[].idstringNode ID.
node_red_flow.nodes[].node_typestringNode type.
node_red_flow.nodes[].namestringNode name.
node_red_flow.nodes[].xinteger | nullNode canvas X position.
node_red_flow.nodes[].yinteger | nullNode canvas Y position.
node_red_flow.nodes[].wireslist of list of stringOutgoing connections (per output, target node IDs).
node_red_flow.nodes[].funcstring | nullFunction-node code.
node_red_flow.nodes[].rawobjectFull unparsed node source.

Block configuration

The fields under blocks[].type_config depend on blocks[].block_type.

FieldTypeMeaning
blocks[].type_config.angle_tolerance_leftnumber | nullalignment — left angle tolerance.
blocks[].type_config.angle_tolerance_rightnumber | nullalignment — right angle tolerance.
blocks[].type_config.confidence_score_thresholdnumber | nullalignment / segmentation / unsupervised — match/confidence threshold.
blocks[].type_config.sensitivitynumber | nullalignment / unsupervised — sensitivity.
blocks[].type_config.versioninteger | nullalignment — config version.
blocks[].type_config.scale_invariantboolean | nullalignment — scale-invariant matching on/off.
blocks[].type_config.inference_modestring | nullalignment — inference mode.
blocks[].type_config.dl_performance_modeinteger | nullalignment — deep-learning performance mode.
blocks[].type_config.skip_blockboolean | nullalignment — skip this block.
blocks[].type_config.template_image_id_pathstring | nullalignment — template image reference path.
blocks[].type_config.labels[].namestringclassification — label name.
blocks[].type_config.labels[].confidence_thresholdnumber | nullclassification — per-label confidence threshold.
blocks[].type_config.labels[].is_positiveboolean | nullclassification — whether the label counts as a pass.
blocks[].type_config.labels[].inspection_typeinteger | nullclassification — inspection type.
blocks[].type_config.labels[].colorstring | nullclassification — display color.
blocks[].type_config.segmentation_typestring | nullsegmentation — segmentation type.
blocks[].type_config.classes[].class_namestringsegmentation — class name.
blocks[].type_config.classes[].mask_pixel_valueinteger | nullsegmentation — mask pixel value.
blocks[].type_config.classes[].colorstring | nullsegmentation — display color.
blocks[].type_config.classes[].mask_shastring | nullsegmentation — mask file SHA.
blocks[].type_config.classes[].mask_pathstring | nullsegmentation — mask file path.
blocks[].type_config.measurement_regions[]objectmeasurement — measurement regions.
blocks[].type_config.min_text_areainteger | nullocr — minimum text area.
blocks[].type_config.text_segmentation_thresholdnumber | nullocr — text segmentation threshold.
blocks[].type_config.unclip_rationumber | nullocr — unclip ratio.
blocks[].type_config.unclip_ceilingnumber | nullocr — unclip ceiling.
blocks[].type_config.unsupervised_typestring | nullunsupervised — method type.
blocks[].type_config.epochsinteger | nullunsupervised — training epochs.
blocks[].type_config.encoderstring | nullunsupervised — encoder.
blocks[].type_config.learning_ratenumber | nullunsupervised — learning rate.
blocks[].type_config.downsampling_rationumber | nullunsupervised — downsampling ratio.
blocks[].type_config.tiled_modeboolean | nullunsupervised — tiled mode on/off.
blocks[].type_config.min_blob_areanumber | nullunsupervised — minimum blob area.
blocks[].type_config.max_blob_areanumber | nullunsupervised — maximum blob area.
blocks[].type_config.hyperparametersobjectclassification / segmentation / measurement / ocr / unsupervised — training hyperparameters.

Test-set snapshot

parameters/testset/<version>.json

FieldTypeMeaning
schema_versionstringSchema shape version of this file.
extracted_atstringWhen the snapshot was taken.
namestringTest-set name.
descriptionstring | nullTest-set description.
authorstring | nullTest-set author.
image_countintegerNumber of images.
images_with_ground_truthintegerNumber of images that have ground truth.
search_area_ids[]stringSearch-area IDs referenced by the test set.
per_class_distribution[].class_namestringClass name. Reserved; currently always empty (treat as "distribution unavailable").
per_class_distribution[].countintegerImage count for the class. Reserved; currently always empty.
images[].image_idstringImage ID.
images[].ground_truth_fingerprintstring | nullFingerprint of the image's ground truth.
images[].has_ground_truthbooleanWhether the image has ground truth.

README

Each version also has a committed README.md that renders the snapshot in readable form. Its sections are:

  • Imaging Settings — a table of the imaging parameters.
  • Aligner Reference Image — the alignment reference image and its SHA-256 (only if the recipe has one).
  • Inspection Blocks — one sub-section per block, headed <name> (<block type>), with the block's UUID, status, and enabled flag, followed by a type-specific block — Classification Labels, Segmentation Classes, OCR Parameters, Unsupervised Parameters, Alignment Parameters, or a measurement-regions count.
  • Node-RED Flow — basic-mode flag, node count, and a table of nodes (ID, Type, Name).
  • Test Set — name, description, author, image count, images with ground truth, and search areas.

Changelog

When a version is published, its parameter snapshot is compared against the previous version's to produce the changelog. The comparison is structural — field by field across the schema above, with lists (blocks, labels, classes, Node-RED nodes) matched by stable identity rather than position, so reordering never shows as a change. Recipe and test set are compared independently, and the changelog is derived from the committed snapshots on demand, so it is available for any pair of versions.

Changes are grouped into the same sections as the snapshot, and a section appears only if something in it changed. A version with no differences is noted as such, and the first version shows a full initial readout instead of a diff.