Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>SwiftBox: YOLO Bounding Box EditorNew to Visual Studio Code? Get it now.
SwiftBox: YOLO Bounding Box Editor

SwiftBox: YOLO Bounding Box Editor

abdulrahman_alabed

|
1 install
| (0) | Free
Open an image, drag/resize colored boxes, pick class from a dropdown, add multiple boxes, crop/rotate, swipe prev/next. All coords saved to one labels.json. Fast, no GPU.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SwiftBox: YOLO Bounding Box Editor

Open an image inside VS Code, drag/resize the green box right on the lesion (or any object), add a second box for multi-object images, swipe through a folder, and save — coordinates are written straight to the YOLO sidecar .txt. No GPU, no server, no upload.

Features

  • View any image with its YOLO box drawn in green.
  • Drag inside to move, drag a corner to resize.
  • Add multiple boxes per image (A), delete the selected box (Del).
  • Change class with number keys 0-9 (names read from classes.txt).
  • Swipe prev/next image (Alt+← / Alt+→) — auto-saves before moving.
  • Saves to the sidecar .txt in YOLO format (cls cx cy w h, normalized).

Expected layout

dataset/
  classes.txt          # one class name per line
  img001.jpg
  img001.txt           # YOLO: "cls cx cy w h" (one line per box)
  img002.jpg
  img002.txt

classes.txt is found by walking up parent folders, so per-class subfolders work too.

Usage

  1. Open the folder of images in VS Code.
  2. Right-click an image → Reopen Editor With… → SwiftBox Editor (or set priority to default in package.json to open on click).
  3. Edit the box, press Ctrl+S.

Shortcuts

key action
drag inside move box
drag corner resize box
A add box
Del / Backspace delete selected box
Tab cycle selected box
0–9 set class of selected box
Alt+← / Alt+→ previous / next image (auto-saves)
Ctrl+S save

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft