How to provide Negative Samples to trainACFObjectDetector() when using a Ground Truth file
Mostra commenti meno recenti
I am using 2017b version, with Computer Vision Toolbox. I've already generated a Ground Truth file using the Image Labeler App, by labelling each ROI. The file contains several different rectangular labels spread in close to a thousand images.
Now I am using trainACFObjectDetector() only for one of the labels from this Ground Truth file. Everything works fine and I've got a full working detector that certainly seems to do what expected. Anyway, I want to tune the process in order to decrease both false-positive and false-negative rates.
Therefore, A question arised me regarding to the provision of Negative Samples, and none of the examples and information on the web is guiding me thrugh that. So here is the question:
When using the Image Labeler app to generate a Ground Truth file and afterwards train a detector:
(1) Do I have to provide the Negative Samples folder? I have seen this in some examples but none of them when using Ground Truth file.
negativeFolder = fullfile('C:\Users\...');
negativeImages = imageDatastore(negativeFolder);
(2) Do I have to add negative samples inside the Image Labeler app session (not marking any ROI on them)?
(3) Does Matlab any crop of the non-marked ROI during the labelling session in the Image Labeler app to generate the needed negatives?
Thanks a lot in advance. Daniel
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Ground Truth Labeling in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!