When you run a correction command, a GUI window opens:
┌───────────────────────────────────────────────────────────────┐
│ Image 5/18 - 20251111T085545.jpg [Current: OFFLINE] │
│ │
│ │
│ [Printer Image] │
│ │
│ │
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌────────┐ ┌──────┐ ┌─────┐│
│ │ OFFLINE │ │ ACTIVE │ │ Skip │ │ Back │ │Quit ││
│ │ (0) │ │ (1) │ │ (S) │ │ (B) │ │(Q) ││
│ └─────────────┘ └─────────────┘ └────────┘ └──────┘ └─────┘│
└───────────────────────────────────────────────────────────────┘
- OFFLINE (0) - Click if printer is idle
- ACTIVE (1) - Click if printer is printing
- Skip (S) - Click to keep current label
- Back (B) - Click to go to previous image
- Quit (Q) - Click to save and exit
Press these keys while the window is focused:
- 0 or O → Label as OFFLINE
- 1 or A → Label as ACTIVE
- S → Skip this image
- B → Go back to previous image
- Q → Quit and save
- Look at the image - Is the printer printing?
- Click button or press key - Choose OFFLINE or ACTIVE
- Next image appears - Repeat for all images
- Done! - Corrections are saved automatically
# Start correction
make correct-retrain DATE=20251111 TIME=08:54-09:25Terminal output:
Finding images for 20251111 in range 08:54-09:25
Found 18 images
Loaded 150 existing labels
Correcting 18 images...
============================================================
Use buttons or keyboard shortcuts:
0 or O - Label as OFFLINE
1 or A - Label as ACTIVE
S - Skip
B - Go back
Q - Quit
============================================================
✓ Updated: 20251111T085447.jpg -> ACTIVE
✓ Updated: 20251111T085545.jpg -> ACTIVE
- No change: 20251111T085650.jpg
✓ Updated: 20251111T085853.jpg -> ACTIVE
...
============================================================
Correction session complete!
============================================================
✓ Made 15 corrections
✓ Total labels: 165
============================================================
Label distribution:
Active: 75 (45.5%)
Offline: 90 (54.5%)
Starting automatic retraining...
Use keyboard shortcuts for speed:
- 1 for active prints (most common during print time)
- 0 for offline
- S to skip uncertain images
Made a mistake? Press B to go back!
Press Q to quit anytime. Your corrections are saved. Run the command again to continue.
Make sure the GUI window is focused (clicked) for keyboard shortcuts to work.
The printer was running the whole time:
- Look at first image → Press 1
- Look at second image → Press 1
- Continue pressing 1 for all images
- Done in seconds!
Some images are active, some offline:
- Look at each image carefully
- Press 1 if printing, 0 if idle
- Use B if you make a mistake
- Press Q when done
Not sure if printer is active?
- Press S to skip
- Come back later with more examples
- Or make your best guess
| Key | Action |
|---|---|
| 0 | Label as OFFLINE |
| O | Label as OFFLINE (alternative) |
| 1 | Label as ACTIVE |
| A | Label as ACTIVE (alternative) |
| S | Skip (no change) |
| B | Back to previous image |
| Q | Quit and save |
| Button | Color | Action |
|---|---|---|
| OFFLINE (0) | Red | Label as offline |
| ACTIVE (1) | Green | Label as active |
| Skip (S) | Gray | Skip this image |
| Back (B) | Yellow | Previous image |
| Quit (Q) | Blue | Save and exit |
The title bar shows:
Image 5/18 - 20251111T085545.jpg [Current: OFFLINE]
- Image 5/18 - You're on image 5 of 18
- 20251111T085545.jpg - Current filename
- [Current: OFFLINE] - Current label (what it's labeled as now)
make correct-time DATE=20251111 TIME=08:54-09:25- Corrections are saved
- You manually retrain:
make train
make correct-retrain DATE=20251111 TIME=08:54-09:25- Corrections are saved
- Model retrains automatically
- Ready to use immediately!
Problem: No GUI window shows up
Solution: Make sure you're in a graphical environment (not SSH without X11)
Problem: Pressing keys does nothing
Solution: Click on the GUI window to focus it, then try again
Problem: Clicked the X button
Solution: Your corrections up to that point are saved. Run the command again to continue.
Problem: Window is too small
Solution: Resize the window or maximize it
Two ways to label:
- 🖱️ Click buttons - Easy and visual
- ⌨️ Press keys - Fast and efficient
Choose what works best for you!
Most users find keyboard shortcuts faster once they get used to them:
- 1 for active
- 0 for offline
- B to go back
- Q to quit
# Run correction
make correct-retrain DATE=20251111 TIME=08:54-09:25
# GUI opens
# For each image:
# - Click ACTIVE or press 1 (if printing)
# - Click OFFLINE or press 0 (if idle)
# - Click Skip or press S (if unsure)
# Done! Model retrains automaticallyHappy correcting! 🎯