MIRA Project - Architecture & Infrastructure
Work Completed:
-
Initialized project architecture and created the virtual environment (
.venv). -
Structerd the directory (
data/glass,data/metal,data/paper,data/plastic) in preparation for supervised machine learning pipelines. -
Wrote and executed a system boot script to test Python and terminal output. Which just utilises
time.sleep()andprint(). -
linked the local workspace to GitHub and pushed the first commit.
-
Studied Python syntax, focusing on loops, variables, and type hinting, easy cause I alredy got basics from other languages.
Next Step:
Studying OpenCV documentation and computer vision fundamentals to create without using AI capture_frame.py. The goal is to build an automated dataset generation script where a keystroke triggers webcam capture and pushes the image directly to the designated categorization folder So i can just make my data set generation easier or maybe I am going to use a public one iam still undecided.
Reflection: Python vs. C/C++
The logic of Python is simple, but adjusting to the syntax is quite weird. Coming from lower-level languages that require strict structuring (like C/C++), the “freedom” and abstraction of Python takes some getting used to. First of all, the absence of semicolons (;) to terminate lines and the reliance on indentation for loops and functions feels unusual.
However, the freedom makes certain things simpler. For example, Python’s for loops:
names: list[str] = ['Alice', 'Bob', 'Charlie', 'Anni-Frid']
for name in names:
print(f'Hello, {name}')
In C, you have to manually manage the loop counter and the array index, which overcomplicates a simple process:
for (int i = 0; i < 4; i++) {
printf("Hello, %s\n", names[i]);
}
Conclusion
For a moment I wasn’t sure if this would really be possible but I gained a lot more confidince through learning a bit and I think this will probally be a long term Project because of the Scale and future stuff I have in mind.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.