pipeline command executes all three analysis stages — object detection, K-Means clustering, and spatial analysis — in sequence. It is the recommended entry point for most analyses.
Syntax
Options
Directory containing the input images to process. Short alias:
-i.Write all results to this directory instead of creating a session (legacy mode, not recommended). Short alias:
-o.Name the session that will be created to store results. Short alias:
-s.If omitted, the session is named after the input directory. Ignored when --output-dir is set.Target color for the detection stage in hexadecimal format. Short alias:
-c.Open the results folder in the system file manager when the pipeline finishes.Pass
--no-open to disable this behavior.What each stage does
Step 1: Object detection
Runs color-based segmentation on every image in
--input-dir. Detected contours are filtered by area and their geometric features are extracted to features.csv.Step 2: K-Means clustering
Reads
features.csv and groups objects into clusters using the elbow method to determine the optimal K. Produces per-image cluster scatter plots and elbow curves.Session management
By default,pipeline creates a session and stores all results in a centralized directory. The session records metadata about each stage, including image counts, object counts, and performance metrics.
Performance summary
At the end of the run, the pipeline prints a performance table showing the duration and peak memory usage for each stage:metadata.json in the session directory.
