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 16:41] – [Introduction] 34602_students.hsrw | amc:ss2025:group-e:start [2025/07/29 17:23] (current) – 35983_students.hsrw | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== CarPi ====== | ====== CarPi ====== | ||
| - | |||
| '' | '' | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| + | '' | ||
| - | For our AMC project, we developed a basic traffic monitoring system, usinf a Raspberry Pi 5, which is designed to detect and count vehicles as they pass through a designated section of road captured by a 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 |
| ===== 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: | ||
| Line 32: | Line 32: | ||
| * Operating System: Raspberry Pi Os (64-bit). | * Operating System: Raspberry Pi Os (64-bit). | ||
| * Storage: 32 GB MicroSD card. | * Storage: 32 GB MicroSD card. | ||
| - | < | + | < |
| === Installing OpenCV and Required Packages === | === Installing OpenCV and Required Packages === | ||
| To enable object detection, OpenCV version 4.8.1 was compiled. The following commands were executed on the Raspberry Pi terminal: | To enable object detection, OpenCV version 4.8.1 was compiled. The following commands were executed on the Raspberry Pi terminal: | ||
| Line 104: | Line 103: | ||
| python dashboard.py | python dashboard.py | ||
| </ | </ | ||
| - | |||
| ===== Results ===== | ===== Results ===== | ||
| + | '' | ||
| + | |||
| ==== Code ==== | ==== Code ==== | ||
| - | Three Python scripts | + | Three files were developed as part of the system' |
| - Object Detection | - Object Detection | ||
| - Vehicle Log | - Vehicle Log | ||
| Line 125: | 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 461: | Line 461: | ||
| ===== Discussion & Conclusion ===== | ===== Discussion & Conclusion ===== | ||
| - | While our traffic monitoring system functions reliably in its current form, there were several lessons | + | '' |
| - | An important takeaway from this experience is that a more successful integration | + | |
| + | While our traffic monitoring system functions reliably in its current form, several lessons | ||
| However, the system is not without limitations. For example, detecting larger vehicles such as buses proved inconsistent, | However, the system is not without limitations. For example, detecting larger vehicles such as buses proved inconsistent, | ||
| 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 ===== | + | {{ : |
| - | -insert info | + | |
| + | ===== References ===== | ||
| + | COCO - Common Objects in Context. (n.d). https:// | ||
amc/ss2025/group-e/start.1753800114.txt.gz · Last modified: 2025/07/29 16:41 by 34602_students.hsrw