Algorithm 2. Following target. |
Input: Class for person , area of the bounding box , maximum area = constant, center of the whole image
|
Output:,
|
1: |
Look for target
|
2: |
if
then
|
3: |
if
then
|
4: |
Calculate and
|
5: |
|
6: |
|
7: |
Repeat Step 5 until , and use for yaw angle |
8: |
Repeat Step 6 until , and use for forwarding velocity |
9: |
end if
|
10: |
else
|
11: |
Do nothing |
12: |
end if
|