amc:ss2025:group-e:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
amc:ss2025:group-e:start [2025/07/29 17:07] – [Discussion & Conclusion] 34602_students.hsrw | amc:ss2025:group-e:start [2025/07/29 17:23] (current) – 35983_students.hsrw | ||
---|---|---|---|
Line 6: | Line 6: | ||
For our AMC project, we developed a basic traffic monitoring system using a Raspberry Pi 5, designed to detect and count vehicles as they pass through a designated section of road captured by a Pi camera. The collected data is uploaded to a web-based dashboard, which could provide a foundation for traffic flow analysis and supporting studies on air pollution, noise levels, and overall urban livability. Such information can also play a valuable role in infrastructure planning and broader environmental monitoring initiatives. | For our AMC project, we developed a basic traffic monitoring system using a Raspberry Pi 5, designed to detect and count vehicles as they pass through a designated section of road captured by a Pi camera. The collected data is uploaded to a web-based dashboard, which could provide a foundation for traffic flow analysis and supporting studies on air pollution, noise levels, and overall urban livability. Such information can also play a valuable role in infrastructure planning and broader environmental monitoring initiatives. | ||
===== Material & Methods ===== | ===== Material & Methods ===== | ||
+ | '' | ||
==== Hardware Components ==== | ==== Hardware Components ==== | ||
- | '' | ||
- | |||
The project was developed using the following hardware components: | The project was developed using the following hardware components: | ||
* Raspberry Pi 5 | * Raspberry Pi 5 | ||
Line 90: | Line 89: | ||
==== Files Setup and Execution === | ==== Files Setup and Execution === | ||
Provided below is a downloadable ZIP containing the pre-trained COCO object detection model used in this setup. It also includes a list of all detectable object classes that the COCO library has been trained to recognize. All project files, including the object detection, dashboard scripts and vehicle log, were placed into the previously downloaded archives (Object_Detection_Files) and transferred to the Raspberry Pi Desktop using a USB stick. | Provided below is a downloadable ZIP containing the pre-trained COCO object detection model used in this setup. It also includes a list of all detectable object classes that the COCO library has been trained to recognize. All project files, including the object detection, dashboard scripts and vehicle log, were placed into the previously downloaded archives (Object_Detection_Files) and transferred to the Raspberry Pi Desktop using a USB stick. | ||
+ | |||
{{ : | {{ : | ||
+ | |||
To execute the object detection script, enter the following command in the terminal. | To execute the object detection script, enter the following command in the terminal. | ||
<code C++> | <code C++> | ||
Line 106: | Line 107: | ||
==== Code ==== | ==== Code ==== | ||
- | Three Python scripts | + | Three files were developed as part of the system' |
- Object Detection | - Object Detection | ||
- Vehicle Log | - Vehicle Log | ||
Line 124: | Line 125: | ||
# === Load class names === | # === Load class names === | ||
classNames = [] | classNames = [] | ||
- | classFile = "/ | + | classFile = "/ |
with open(classFile, | with open(classFile, | ||
classNames = f.read().rstrip(" | classNames = f.read().rstrip(" | ||
# === Load model config and weights === | # === Load model config and weights === | ||
- | configPath = "/ | + | configPath = "/ |
- | weightsPath = "/ | + | weightsPath = "/ |
assert os.path.exists(classFile), | assert os.path.exists(classFile), | ||
Line 472: | Line 473: | ||
Despite these challenges, the project demonstrates that a low-cost and accessible traffic monitoring solution is possible without specialized AI hardware. With further development, | Despite these challenges, the project demonstrates that a low-cost and accessible traffic monitoring solution is possible without specialized AI hardware. With further development, | ||
===== Video ===== | ===== Video ===== | ||
+ | {{ : | ||
===== References ===== | ===== References ===== | ||
- | -insert info | + | COCO - Common Objects in Context. (n.d). https:// |
amc/ss2025/group-e/start.1753801676.txt.gz · Last modified: 2025/07/29 17:07 by 34602_students.hsrw