Gevornairi / AbnormarCrowdDetection

Abnormal Crowd Detection Implementation with Python
36 stars 26 forks source link

velocity error in "social_force_calculation.py" #3

Open kevinlemon opened 4 years ago

kevinlemon commented 4 years ago

Thank you for your sharing. However, it seems that there is a mistake in "social_force_calculation.py" In your code, the desired velocity is calculated by the following code: Vq=(1-Pi)Vef + Piflow #desired velosity Vea However, in the literature Equation (7), the velocity is computed by: Vq=(1-Pi)flow + piVef

Luoxsh6 commented 2 years ago

Thank you for your sharing. However, it seems that there is a mistake in "social_force_calculation.py" In your code, the desired velocity is calculated by the following code: Vq=(1-Pi)_Vef + Pi_flow #desired velosity Vea However, in the literature Equation (7), the velocity is computed by: Vq=(1-Pi)_flow + pi_Vef I think the code in this repository is correct, Oave(xi, yi) is calculated as flow if you read careful on sect 3.1. Particle Advection