did anyone know how to train a Faster R-CNN detector to detect multiple object classes?
조회 수: 15(최근 30일)
표시 이전 댓글
Yao Xiao 2019년 3월 3일
댓글: Pawel Habrzyk 2020년 2월 25일
i wanna to train a Faster R-CNN detector to detect multiple object classes. but from document just some example train a Faster R-CNN detector to detect sigle object classes. hava no idea how to after try something hard.
댓글 수: 0
Harshita Gupta 2019년 3월 7일
Multiple objects can be detected by formatting the input "trainingData" to contain information about multiple object classes. If you refer to the documentation:
you will note that the labeled ground truth "trainingData" has to be formatted as:
Labeled ground truth images, specified as a table with two or more columns. The first column must contain paths and file names to grayscale or truecolor (RGB) images. The remaining columns must contain bounding boxes related to the corresponding image. Each column represents a single object class, such as a car, dog, flower, or stop sign."
In the example linked above the "trainingData" consists of only two columns with the second column representing the object class vehicle. For detecting multiple objects, you have to label your images for the new objects you want to detect and modify the "trainingData" accordingly.
댓글 수: 2
Find more on Image Processing and Computer Vision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!