![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1059895/image.png)
IMage Processing-Pedestrian Detection for surveillance
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I plan on training an object detector for detecting pedestrians , and the following line of code is unclear.
stopSigns.imageFilename = fullfile(toolboxdir('vision'),...
'visiondata',stopSigns.imageFilename);
I used the ImageLabeler app to collect the label file , which encloses a gTruth object containing a DataSource tabel thatcontains the labeled images.What filepath should i give in the fullfile function to point to the DataSource and how?
0 comentarios
Respuestas (1)
T.Nikhil kumar
el 9 de Jul. de 2022
Hi Vyshali !
I understand that your final requirement is a table which has the image file paths as one column and the bounding boxes as other column.
An efficient way to do this using Image Labeler is by exporting the labels to the workspace in the export format of table instead of groundTruth. This will give you the final required table. Follow as per the below image:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1059895/image.png)
After this use the following command to update the file paths according to the present working directory.
gTruth.imageFilename=fullfile(pwd, gTruth.imageFilename);
0 comentarios
Ver también
Categorías
Más información sobre C4ISR en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!