Framework for the analysis of crossing behaviour in the interaction between multiple pedestrians and an automated vehicle, from the perspective of one of the pedestrians using a crowdsourcing approach.
Tested with Python 3.9.11. To setup the environment run these two commands in a parent folder of the downloaded repository (replace /
with \
and possibly add --user
if on Windows):
Step 1:
Clone the repository
git clone https://github.com/bazilinskyy/multiped.git
Step 2:
Install Dependencies
pip install -r requirements.txt
Step 3:
Ensure you have the required datasets in the data/ directory.
Step 4:
Run the code:
python3 analysis.py
Demographic Distribution of the participants
Age Distribution of the participants
Gender Distribution of the participants
Trigger press when car is yielding, the other pedestrian is in front and car has no eHMI
Trigger press when car is yielding, the other pedestrian is in back and car has no eHMI
Trigger press when car is yielding, the other pedestrian is in front and car has eHMI
Trigger press when car is yielding, the other pedestrian is in back and car has eHMI
Trigger press when car is not yielding, the other pedestrian is in front and car has eHMI
Trigger press when car is not yielding, the other pedestrian is in back and car has eHMI
Trigger press when car is not yielding, the other pedestrian is in front and car has no eHMI
Trigger press when car is not yielding, the other pedestrian is in back and car has no eHMI
Yaw angle when car is yielding, the other pedestrian is in front and car has no eHMI
Yaw angle when car is yielding, the other pedestrian is in back and car has no eHMI
Yaw angle when car is yielding, the other pedestrian is in front and car has eHMI
Yaw angle when car is yielding, the other pedestrian is in back and car has eHMI
Yaw angle when car is not yielding, the other pedestrian is in front and car has eHMI
Yaw angle when car is not yielding, the other pedestrian is in back and car has eHMI
Yaw angle when car is not yielding, the other pedestrian is in front and car has no eHMI
Yaw angle when car is not yielding, the other pedestrian is in back and car has no eHMI
Check that you are indeed in the parent folder for running command pip install -e multiped
. This command will not work from inside of the folder containing the repo.
If you have any questions or suggestions, feel free to reach out to md_shadab_alam@outlook.com