about the function trainCascadeObjectDetector
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
sun nan
el 31 de Mayo de 2015
Editada: Dima Lisin
el 2 de Jun. de 2015
It seems that I can't feed hand annotated negative samples to the engine as that only picture scenes without the object to be detected can be feed to the engine then the negative samples will be automatically generated.
However, consider the situation where I want to distinguish stop sign from other traffic signs while they all have similar circular contours. If I merely use automatically generated negative samples, there will be a lot of false positives when I only want to detect the stop sign. I figure the positive samples are ample (over 80 positive samples with hand annotation), it's got be something wrong with the negative sample. If I can use hand annotated negative samples, things might change. Is the true? How can I accomplish that?
0 comentarios
Respuesta aceptada
Dima Lisin
el 1 de Jun. de 2015
Editada: Dima Lisin
el 2 de Jun. de 2015
Hi Sun,
You are correct. trainCascadeObjectDetector generates negative samples automatically from the negative images. The reason for doing that is precisely to avoid the false positives. All you have to do is give the function images that do not contain the stop signs, but that do contain other signs. trainCascadeObjectDetector will learn to not classify those as stop signs on its own.
Also, 80 positive samples is not very many. You may want to consider labeling more positive samples, or generating more positive samples by applying small transformations and/or adding noise to the ones you already have.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!