/MatlabLabeler

Object detector for automatic image labeling

Primary LanguageMATLAB

matlab_image_labeler

Use of an object detector for automatic image labeling.

Requirements

Matlab 2019 or later

Matlab Toolbox

Setup

  git clone [repositori_link]
  • Place images to train detector in folder /train_data
  • Place validation images in folder /val_data

Manual labeling

  • Open Image Labeler app
  • Add images from folder /train_data
  • Create label: It is possible to create more than one label at a time.
  • Label images
  • Save image labeling session as: [label_name]_labeler_session
  • Save label definitions as: [label_name]_label_def
  • Export image Labels as: ``[label_name]_labels```

Training obj detector

The Object detector used in this repository is the ACF detector from matlab.

  • Use file detector.mxl
  • To Do: Make file take label name as input

Automatic labeling

  • Open Image Labeler app
  • Import images from /val_data
  • Import labels
  • Import label definition
  • To Do: Change detector name in automatic labeler automatically instead of manually.
  • Import detector method /+vision/+labeler/GangsterACFDetector.m
  • Run method on validation images