cycling-safety-analysis
Analysis of vehicle-to-cyclist passing distances in traffic using distance sensors, with traffic safety insights.
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: mdpi.com -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Repository
Analysis of vehicle-to-cyclist passing distances in traffic using distance sensors, with traffic safety insights.
Basic Info
- Host: GitHub
- Owner: wuihee
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://www.mdpi.com/2076-3417/14/9/3602
- Size: 91.7 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Traffic Data Collection
- See publication.
- The setup and code used to run the sensors can be found in my
cycling-safety-codemodule. - I have also refactored and isolated the code for the sensors on their on in my
cycling-safety-sensorsmodule.
Table of Contents
Introduction
Context
In Singapore, in the face of bicycle related traffic accidents, traffic rules require cars to overtake bicycles at a minimum distance of 1.5m.
Goals
The goal of this project is to collect data on the passing distance of cars to bicycles. I use various sensors to measure the distance of passing vehicles. The sensors were mounted a bike which was used to ride around Singapore roads and collect data.
Installation
Clone Repo
bash
git clone https://github.com/wuihee/cycling-safety-analysis.git
Create Virtual Environment
bash
python -m venv .venv
Install Dependencies
bash
pip install -r requirements.txt
Install Package Locally
This will allow you to import cycling_safety_analysis and run .py files in scripts locally.
bash
pip install -e .
Notebooks
Basic Tests
The results and analysis of each sensor's baseline capabilities in a static environment.
- WaveShare's TOF Sensor
- Chengdu JRT BB2X Laser Distance Sensor
- Garmin's LIDAR-Lite V4
- DFRobot's A02YYUW Ultrasonic Sensor
Outdoor Tests
Analysis and conclusions of the vehicle-to-cyclist passing distance data collected by each sensor.
- TOF Sensor: TOF sensor unreliable due to high amount of spurious data generated.
- Laser Sensor: Laser sensor too slow if not used with windows software.
- LIDAR Sensor: Successful automated data collection with AI camera! Also showcases sample automated data analysis with DBSCAN cluster identification.
Owner
- Name: Wuihee
- Login: wuihee
- Kind: user
- Repositories: 1
- Profile: https://github.com/wuihee
GitHub Events
Total
Last Year
Dependencies
- ipympl *
- matplotlib *
- numpy *
- openpyxl *
- pandas *
- scikit-learn *
- wheel *