Filter löschen
Filter löschen

tracking pedstrians from a moving car

1 Ansicht (letzte 30 Tage)
xiaodong hu
xiaodong hu am 22 Mär. 2017
Beantwortet: Zheng am 22 Mär. 2017
I was wondering what's the statement"
y = (bboxes(:,2)-1) / resizeRatio + 1;
yfoot = min(length(obj.pedScaleTable), round(y + height));
" means in the example'tracking pedestrians from a moving car. thanks.
  1 Kommentar
Santhana Raj
Santhana Raj am 22 Mär. 2017
If you can give a link on the example you are referring or the code, then it would be easier for people to help.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Zheng
Zheng am 22 Mär. 2017
% y = (bboxes(:,2)-1) / resizeRatio + 1; this gives the y-coordinate of the top of the bounding box in the original image. The image being processed is resized commented in line 230.
% yfoot = min(length(obj.pedScaleTable), round(y + height)); This gives the y-coordinate of the bottom of the bounding box. The auxiliary table was constructed such that you can retrieve the estimated height of an adult from the table using yfoot as an index. Therefore, this index value cannot go beyond the size of the table.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by