Cascade Trainer: Specify Ground Truth, Train a Detector

Interactively specify rectangular ROIs in a list of images and build new cascade classifiers.
Updated 14 May 2015

View License

Cascade Trainer app:
Interactive app for managing the selection and positioning of rectangular ROIs in a list of images, for specifying ground truth for training algorithms, and for creating new cascade classifiers.
* Add/remove/rotate/sort images
* Add/remove/reposition/ delete/copy/paste ROIs
* NEW: Paste ROIs from a specified image through a range of images
* Generate/export structure of image names and ROI positions
* Save/restore sessions
* Keyboard shortcuts designed to facilitate the process

If you plan on training a detector, or have other uses for multiple-ROI selection and management, this tool is for you!

Note that the zip file includes an mlappinstall file. You can use this GUI in the standard fashion, or double-click the mlappinstall file to install CascadeTrainGUI as an App on your App Toolbar.
Comments, suggestions welcome!
SEE ALSO: SegmentTool, MorphTool, ImadjustGUI, FindCirclesGUI

Cite As

Brett Shoelson (2024). Cascade Trainer: Specify Ground Truth, Train a Detector (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

This is the fixed version that was supposed to go live on 5/4/2015, but that apparently didn't get updated correctly. Sorry for the inconvenience!

Fixes a bug that triggered the "negativesFolderNotFound" error under certain training conditions.

Added new capability for inserting full-frame ROIs through a specified range of images, and made that and "pasteROIsThrough" fast! Fixed a couple bugs, and removed a dependency that rendered this Windows-only.

Added new PasteROIsThrough... function, fixed some bugs, and verified R14b readiness.
PLEASE NOTE: This app is a replacement for the previously-named CascadeTrainGUI.

Includes interface to train a detector, and to apply a trained detector to a series of images!

Includes interface to train the detector, and to apply a trained detector to a set of images!