Drag every blue outline circle to its correct data dot — automatically.
image-studio run
One command. Detects positions, pairs outlines, drags them into place, verifies, and repairs.
npm install -g github:random-guy-05/image-studio-alignment
image-studio initRequires: Node.js + Python 3.11–3.13
macOS: Enable Accessibility for your terminal when prompted.
Windows: Same commands from PowerShell.
- Open your file in ImageStudio — full grid visible
- Hide the blue outline circles
- Take a full-screen screenshot
- Save it as
screenshots/dots.png - Show the blue outlines again
┌─────────┐
screenshots ───────► detect │
dots.png └────┬────┘
│ 240 target positions
┌────▼────┐
│ prepare │ full-screen capture
└────┬────┘
│ 240 blue→target pairs
┌────▼────┐
│ align │ drag every blue
└────┬────┘
│
┌────▼────┐
│ verify │ read-only check
└────┬────┘
│
┌────▼────┐
│complete │ repair misalignments
└─────────┘
Run it all:
image-studio runYou'll answer three prompts:
- Row/column count (default 10×24)
- Proceed after reviewing the overlay? (y/n)
- Pixel tolerance for final check (default 5)
| Command | What it does |
|---|---|
image-studio run |
Full workflow: detect → prepare → align → verify → complete |
image-studio detect |
Detect blot positions from screenshot |
image-studio prepare |
Scan for blue outlines and pair to targets |
image-studio prepare --resume |
Same, works after a partial run |
image-studio align |
Drag blues to targets |
image-studio verify |
Read-only alignment report |
image-studio complete |
Repair anything misaligned |
image-studio clean |
Remove generated files |
image-studio prepare --resume
image-studio alignAlready-aligned outlines are automatically skipped.
| File | What's in it |
|---|---|
screenshots/detected_overlay.png |
Preview: green circles = predicted, red+marker = discovered |
predicted_positions.json |
All 240 definitive target coordinates |
targets.json |
Current blue-outline-to-target pairs |
verification.json |
Alignment report: aligned / misaligned / missing / overlapping |
- Never include blue outlines in
dots.png. They must be hidden during the screenshot. - Press Ctrl+C to stop at any time. Use resume commands to continue.
- If macOS asks for Input Monitoring, allow it — pyautogui needs it to move the mouse.
- The overlay at
screenshots/detected_overlay.pngupdates after everydetect— review before aligning. - Python 3.14 is not yet supported. Use 3.11, 3.12, or 3.13.