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:11] – 35983_students.hsrw | amc:ss2025:group-e:start [2025/07/29 17:23] (current) – 35983_students.hsrw | ||
---|---|---|---|
Line 89: | 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 123: | 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 471: | 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.1753801880.txt.gz · Last modified: 2025/07/29 17:11 by 35983_students.hsrw