Train Cascade Object Detector

버전 1.0.0.0 (6.5 KB) 작성자: Jeremy Wurbs
Example showing how to train a user-defined object detector.
다운로드 수: 3.6K
업데이트 날짜: 2013/12/2

라이선스 보기

This function (trainClassifierExample.m) is a tutorial/example on how to create a user-defined vision.CascadeObjectDetector detector. This function uses an attached webcam to take video of a user and builds a detector on their face. From this example hopefully it is clear how to generate detectors for any general object class. Faces are used in this example since the labeling can be done autonomously using a pre-trained face detector.

The function goes through the following steps:

1) Take video which includes object of interest (the user's face).
2) Label (manually or autonomously) positive objects from the video in (1).
3) Take video which does NOT include object of interest.
4) Train classifier using trainCascadeObjectDetector.
5) Test classifier on live video.

Note: to train new classifiers you will likely have to label the positive examples by hand. For manual labeling this function uses the Cascade Training GUI, which you can download at: http://www.mathworks.com/matlabcentral/fileexchange/39627-cascade-training-gui-specify-ground-truth

Please let me know if something is not clear or does not work. Cheers!

인용 양식

Jeremy Wurbs (2024). Train Cascade Object Detector (https://www.mathworks.com/matlabcentral/fileexchange/44545-train-cascade-object-detector), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0