/ImageTrimmer

Image trimming tool for machine learning

Primary LanguageSwiftMIT LicenseMIT

ImageTrimmer

Image trimming tool for Machine Learning.

For trimming numerous, fixed size images from one image.

Xcode11 / Swift5.1 / macOS

Currently, it's specialized for binary classification.

Usage

Common

Main Window

  1. Drag and drop image onto the upper box.
  2. Set output directories and file numbers to start from.
  3. Set trim width and height.

Trim manually

  1. Common
  2. Set x and y(Input value, or just click image).
  3. Trimming preview will be shown on the right box.
  4. Press "Trim(P)" or "Trim(N)" button to trim and save positive/negative image.

Can zoom, scroll.

Trim randomly

Random trimming

  1. Common
  2. Press "Random" button, then new window will open.
  3. Randomly trimmed image will be shown, Press "Positive"/"Negative" button to save image.

License

MIT License