How hafeezkhan909/alina works
ALINA is a computer-vision labeling tool for taxiway line markings. A user invokes the CLI, prepares or selects input frames, interactively defines one ROI, and runs single-frame or batch detection. Each frame is perspective-warped, color-normalized, thresholded, histogram-checked, traversed with CIRCLEDAT, then unwarped into annotated images and coordinate files. Separate evaluation tools create CBEM ground truth, compare ALINA coordinates with precision/recall/F1, and visualize overlays. The graph reflects sampled runtime code and README-documented capabilities.
Components 16
User Interface
- CLI Commands
cli.py
Labeling Pipeline
- Pipeline Config
alina/config.py - ROI Selection
alina/roi.py - Frame Labeling
alina/pipeline.py - HSV Features
alina/color.py - Peak Detection
alina/histogram.py - CIRCLEDAT Traversal
alina/traversal.py - Labeled Outputs
data/Labeled_Data
Frame Preparation
- Raw Frames
data/Raw_Data - Frame Conversion
alina/io_utils.py
Evaluation Tools
- CBEM Creator
eval/cbem.py - CBEM Ground Truth
data/gt_alina_labels - Metric Evaluation
eval/evaluate.py - Precision Metrics
eval/metrics.py - Overlay Viewer
eval/superimpose.py
Other components
- Operator
Connections 24
- Operator → CLI Commands: invokes
- CLI Commands → ROI Selection: selects ROI
- CLI Commands → Frame Labeling: runs labeling
- CLI Commands → Pipeline Config: constructs config
- CLI Commands → Frame Conversion: runs preparation
- CLI Commands → CBEM Creator: creates CBEM
- CLI Commands → Metric Evaluation: runs evaluation
- CLI Commands → Overlay Viewer: shows overlay
- Raw Frames → ROI Selection: reads reference
- Raw Frames → Frame Labeling: reads frames
- Frame Conversion → Raw Frames: writes frames
- Pipeline Config → Frame Labeling: supplies settings
- ROI Selection → Frame Labeling: returns coordinates
- Frame Labeling → HSV Features: normalizes colors
- Frame Labeling → Peak Detection: finds peaks
- Frame Labeling → CIRCLEDAT Traversal: traverses pixels
- Frame Labeling → Labeled Outputs: writes labels
- Raw Frames → CBEM Creator: reads frame
- CBEM Creator → CBEM Ground Truth: writes CBEM
- CBEM Ground Truth → Metric Evaluation: reads truth
- Labeled Outputs → Metric Evaluation: reads predictions
- Metric Evaluation → Precision Metrics: calculates scores
- Labeled Outputs → Overlay Viewer: reads coordinates
- Overlay Viewer → CBEM Ground Truth: optional overlay output