<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Grzegorz Gomza on Medium]]></title>
        <description><![CDATA[Stories by Grzegorz Gomza on Medium]]></description>
        <link>https://medium.com/@gomza.datascience?source=rss-b2fac50b6e59------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*72-swMoV-2bbb3gn_0nJ5Q.jpeg</url>
            <title>Stories by Grzegorz Gomza on Medium</title>
            <link>https://medium.com/@gomza.datascience?source=rss-b2fac50b6e59------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:31:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gomza.datascience/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building an AI Agent for Movie Recommendations with Neo4j and LangChain (Part 4)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-4-3798a462bb76?source=rss-b2fac50b6e59------2"><img src="https://cdn-images-1.medium.com/max/1024/1*BvtLfuY94mGhW2Zg2wjEYA.png" width="1024"></a></p><p class="medium-feed-snippet">Deploying AI-Powered Movie Recommender with Streamlit, Langchain and Neo4J</p><p class="medium-feed-link"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-4-3798a462bb76?source=rss-b2fac50b6e59------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-4-3798a462bb76?source=rss-b2fac50b6e59------2</link>
            <guid isPermaLink="false">https://medium.com/p/3798a462bb76</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Grzegorz Gomza]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 10:14:45 GMT</pubDate>
            <atom:updated>2025-03-13T10:14:45.821Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an AI Agent for Movie Recommendations with Neo4j and LangChain (Part 3)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-3-a4c02f4eb805?source=rss-b2fac50b6e59------2"><img src="https://cdn-images-1.medium.com/max/1024/1*BvtLfuY94mGhW2Zg2wjEYA.png" width="1024"></a></p><p class="medium-feed-snippet">Creating the Chat Agents and wrapping up the backend developement.</p><p class="medium-feed-link"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-3-a4c02f4eb805?source=rss-b2fac50b6e59------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-3-a4c02f4eb805?source=rss-b2fac50b6e59------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4c02f4eb805</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Grzegorz Gomza]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 10:11:43 GMT</pubDate>
            <atom:updated>2025-03-13T10:17:51.822Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an AI Agent for Movie Recommendations with Neo4j and LangChain (Part 2)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-2-3b9407871e9d?source=rss-b2fac50b6e59------2"><img src="https://cdn-images-1.medium.com/max/1024/1*BvtLfuY94mGhW2Zg2wjEYA.png" width="1024"></a></p><p class="medium-feed-snippet">Implementing Vector Search, Relationship-Based Recommendations and other tools in Neo4j &amp; LangChain</p><p class="medium-feed-link"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-2-3b9407871e9d?source=rss-b2fac50b6e59------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-2-3b9407871e9d?source=rss-b2fac50b6e59------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b9407871e9d</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Grzegorz Gomza]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 10:10:34 GMT</pubDate>
            <atom:updated>2025-03-13T10:17:24.645Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an AI Agent for Movie Recommendations with Neo4j and LangChain (Part 1)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-1-a5ffa101cf1d?source=rss-b2fac50b6e59------2"><img src="https://cdn-images-1.medium.com/max/1024/1*BvtLfuY94mGhW2Zg2wjEYA.png" width="1024"></a></p><p class="medium-feed-snippet">Setting Up the Neo4j Graph Database for a Netflix Recommendation Chatbot.</p><p class="medium-feed-link"><a href="https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-1-a5ffa101cf1d?source=rss-b2fac50b6e59------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@gomza.datascience/building-an-ai-agent-for-movie-recommendations-with-neo4j-and-langchain-part-1-a5ffa101cf1d?source=rss-b2fac50b6e59------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5ffa101cf1d</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Grzegorz Gomza]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 10:08:01 GMT</pubDate>
            <atom:updated>2025-03-13T10:16:48.194Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[12 Python Built-in Functions You Should Use Every Day]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@gomza.datascience/12-python-built-in-functions-you-should-use-every-day-d87d297858ae?source=rss-b2fac50b6e59------2"><img src="https://cdn-images-1.medium.com/max/1024/1*Q5pQG1K46b-vw0QcAs9OQw.png" width="1024"></a></p><p class="medium-feed-snippet">Python is a language known for its simplicity and versatility, and its built-in functions are a major reason for that. These functions are&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@gomza.datascience/12-python-built-in-functions-you-should-use-every-day-d87d297858ae?source=rss-b2fac50b6e59------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@gomza.datascience/12-python-built-in-functions-you-should-use-every-day-d87d297858ae?source=rss-b2fac50b6e59------2</link>
            <guid isPermaLink="false">https://medium.com/p/d87d297858ae</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Grzegorz Gomza]]></dc:creator>
            <pubDate>Tue, 11 Mar 2025 17:32:40 GMT</pubDate>
            <atom:updated>2025-03-11T17:32:40.655Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Training a CNN for Lego bricks recognition]]></title>
            <link>https://medium.com/rocket-science-team/training-a-cnn-for-lego-bricks-recognition-f285ffab3327?source=rss-b2fac50b6e59------2</link>
            <guid isPermaLink="false">https://medium.com/p/f285ffab3327</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[cnn]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Grzegorz Gomza]]></dc:creator>
            <pubDate>Sun, 01 Dec 2024 14:33:59 GMT</pubDate>
            <atom:updated>2024-12-01T14:33:59.254Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Training a CNN for LEGO Bricks Recognition</h3><p><em>Written by Rocket Science Team: </em><strong><em>Aleksandra Baran </em></strong><em>(</em><a href="http://linkedin.com/in/alexabaran"><em>LinkedIn</em></a><em>, </em><a href="https://github.com/alexabaran"><em>GitHub</em></a><em>), </em><strong><em>Dariusz Balcer </em></strong><em>(</em><a href="https://www.linkedin.com/in/dariuszbalcer/"><em>LinkedIn</em></a><em>, </em><a href="https://github.com/montenegro-db"><em>GitHub</em></a><em>), </em><strong><em>Grzegorz Gomza </em></strong><em>(</em><a href="https://www.linkedin.com/in/gregory-gomza/"><em>LinkedIn</em></a><em>, </em><a href="https://github.com/grzegorz-gomza/"><em>GitHub</em></a><em>), supervised by </em><strong><em>Mateusz Maj </em></strong><a href="https://www.linkedin.com/in/mateusz-maj-data-scientist/"><em>(LinkedIn)</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KyMMz_RUig6hRClOKaOKKg.png" /></figure><h3><strong>Project Assumptions</strong></h3><p>This project was developed as part of a <a href="https://infoshareacademy.com/">Data Science bootcamp by infoShare Academy</a> focusing on one of the world’s most iconic toys — LEGO bricks. As a team, we tackled the challenge using our skills in data analysis, machine learning, and computer vision.</p><p>The project code is available on <a href="https://github.com/grzegorz-gomza/Portfolio_Projects/tree/main/Lego%20recognition">GitHub</a>.</p><p>The motivation for the project came from a scenario presented by a fictional stakeholder: the founder of a startup developing an app to recognize LEGO bricks based on user-uploaded photographs. Such a system could be helpful to LEGO collectors and enthusiasts, enabling quick identification of individual pieces.</p><p>Our goal was to create a model that allows you to recognize individual LEGO elements from photos.</p><p>To achieve this, we employed <strong>deep learning</strong> — an advanced approach to training computers using large amounts of data. Specifically, we used a <strong>convolutional neural network (CNN)</strong>, which is well-suited for working with images as it can recognize patterns such as shapes and textures. This makes CNNs ideal for tasks like identifying LEGO bricks.</p><p>For this project, we used a dataset available on the Kaggle platform, which contains an extensive collection of images of LEGO bricks of various shapes and sizes.</p><h3><strong>History of LEGO</strong></h3><p>The original concept for the bricks that LEGO products are based on was created by Hilary Fisher Page. His company, Kiddicraft, introduced these bricks in 1947 under the name <em>Self-Locking Building Bricks</em>. Unfortunately, the invention did not achieve major commercial success.</p><p>The LEGO company later adapted this idea, launching its own version in 1949 under the name <em>Automatic Binding Bricks</em>. Although Hilary Fisher Page held a patent for his invention, he was discouraged by its limited success and did not pursue legal action to protect his rights.</p><p>In 1981, LEGO officially acquired the rights to the bricks and the Kiddicraft trademark.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*nvgJ4E3PynBSJDhXUlk4jw.jpeg" /><figcaption>Source: <a href="https://www.lego.com/">https://www.lego.com/</a></figcaption></figure><h3><strong>Model Design: The LEGO Challenge</strong></h3><p>The catalog of all Lego bricks throughout their history includes nearly 84,000 unique items. Developing a system to recognize and classify all of these items proved to be a significant challenge, requiring substantial resources and time to train and implement the final solution. This challenge was compounded by the fact that, while LEGO bricks have maintained full backward compatibility, they have also undergone modifications over the years. For example, the basic 4×2 block (part number 3001) has so far appeared in twelve different variants.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*HE05TiX5bx9hDGxF2rnQxw.jpeg" /><figcaption>Source: <a href="https://snakeandboris.blogspot.com/">https://snakeandboris.blogspot.com/</a></figcaption></figure><p>For a system designed to recognize LEGO bricks, this posed an additional challenge.</p><p>On one hand, we wanted the system to recognize when the same type of brick was used in a construction. On the other hand, it was important for the system to also identify specific variant of each brick, which could differ depending on the production period. For collectors, this feature could be a key functionality.</p><p>To manage this, we decided to limit our model to a subset of the catalog, consisting of “only” 20 unique blocks.<br>For each type we assigned 4,000 images, of which 80% were used for training the model. We made this choice because our computing resources and GPU access were limited.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nrdLhK3yM_jLCHn21YIhQw.png" /><figcaption>A graphical representation and serial numbers of the LEGO bricks used in the project.</figcaption></figure><h3><strong>Let’s Dive into the Topic — Convolutional Network Models</strong></h3><p>To accomplish the task, we decided to use the aforementioned convolutional neural network (CNN). As the Rocket Science<strong> </strong>team, we developed the <strong>“RocketNet” </strong>architecture<strong>, </strong>taking a 64 px x 64 px color image as input.</p><p>Our architecture included three convolution layers with 32, 64 and 128 filters, respectively.</p><p>Between these layers, we added normalization and pooling layers.</p><p>The transition from the convolution layers to the dense layers required the addition of a flattening layer.</p><p>The network also contained a dense layer with 512 neurons, followed by a dropout layer with a 50% rate to help prevent over-fitting.</p><p>The ReLU activation function has been applied throughout the network.</p><p>The output layer consisted of 20 neurons, corresponding to the number of classes (20 unique blocks).</p><p>Our network architecture shares similarities with <a href="https://en.wikipedia.org/wiki/AlexNet"><strong>AlexNet</strong></a>, a convolutional network developed in 2012 by Alex Krizhevsky for a competition to recognize 1000 objects in a 224px x 224px image. The methods and architecture of AlexNet was a milestone in the history of deep learning.</p><p>It can be said that our <strong>RocketNet </strong>is a simplified version of <strong>AlexNet</strong>.</p><p>If Alex Net were adapted to a resolution of 64x64x3 and a classification task of 20 images, the resulting architecture would be similar to what we developed with our net.</p><p>In <strong>RocketNet</strong>, we used two fewer convolutional layers than in <strong>AlexNet </strong>and removed the second dense layer.</p><p>Another key difference is in the stride parameter: <strong>AlexNet </strong>moves the filter by 5 px in the first layers, while <strong>RocketNet </strong>uses a 3px stride.</p><p><strong>Due of these similarities, we decided to compare the two networks.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-daNt1f49EeBEGE8NmFwfw.png" /><figcaption>On the <strong>left </strong>side is the diagram of <strong>AlexNet</strong>, and on the <strong>right</strong> side is the diagram of <strong>RocketNet</strong>. The rectangles indicate the structural differences between these two convolutional network models.</figcaption></figure><h3>Model Training: What Is It About and How Did We Approach It in Our Project?</h3><p>Training a convolutional neural network involves teaching the model to recognize patterns in images by adjusting the weights in the network based on the training data. This process is repeated in a loop until the network produces accurate results on a previously prepared test dataset. The training relies on a technique called <strong><em>backpropagation of error</em></strong>, which allows the network to improve its performance over multiple iterations, known as <strong><em>epochs</em>.</strong> This step is crucial, as it enables machines to understand and analyze visual data effectively.</p><p>In our project, we trained both models twice.</p><p>The first training was conducted over 50 epochs to determine when the model became overfitted.</p><p>The second training was conducted using the number of epochs determined during the first round.</p><p>As a team, we decided that <strong>AlexNet </strong>was sufficiently trained after 40 epochs, even though the performance trend was still slightly upward. Most likely, due to its higher number of filters, the model learned more slowly; however, this did not make it immune to overfitting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7i2-z70RIJsyBdBBiqFNXw.png" /><figcaption><strong>AlexNet</strong>: The charts show Loss and Validation Loss, AUC, and Categorical Accuracy depending on the number of epochs. One line represents the training dataset, and the other the validation dataset.</figcaption></figure><p><strong>RocketNet </strong>was halted after 10 epochs, as its performance on the validation set declined with each successive epoch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BHEX98s0G10zMK9-KZSsFQ.png" /><figcaption><strong>RocketNet</strong>: The charts show Loss and Validation Loss, AUC, and Categorical Accuracy depending on the number of epochs. One line represents the training dataset, and the other the validation dataset.</figcaption></figure><h3><strong>Network Evaluation</strong></h3><p>Due to the similarity in the shapes of certain blocks, confusion was expected between three specific pairs of blocks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*2hL6j_KW6ma784H9QLSOsg.png" /><figcaption>The results shown are for the <strong>RocketNet</strong> network.</figcaption></figure><p>Meanwhile, most of the confusion was observed between the following pairs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*D5pO4VncjFAkozBIxAgY4g.png" /><figcaption>The results shown are for the <strong>RocketNet</strong> network.</figcaption></figure><p>It turned out that <strong>RocketNet </strong>had difficulty recognizing several pieces, with the main issue arising from piece 15070, which was frequently confused with piece 15712. The other pieces were not misclassified as often.</p><p>The effectiveness of <strong>RocketNet </strong>on the validation set was 88.9%.</p><p>In contrast, <strong>AlexNet</strong> made more frequent mistakes, and also on the previously mentioned pieces. However, larger errors occurred on other pieces, such as 18651 and 11214.</p><p><strong>AlexNet</strong>’s efficiency on the validation set was 90.9%.</p><p>It can generally be concluded that <strong>AlexNet</strong>, due to its complexity, was not able to generalize as well as the simpler <strong>RocketNet</strong>. This suggests that a more complex and intricate network does not always outperform a simpler one in completing its assigned tasks.</p><p>In summary, our <strong>RocketNet </strong>was only 2% “less” effective, but its errors were more evenly distributed across all classes, unlike <strong>AlexNet</strong>, where errors were concentrated in a few specific pieces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u5rIvxxRLIxapOTvEarPpg.png" /><figcaption>Comparison of the confusion matrix for AlexNet and RocketNet. The most significant mistakes are highlighted with circles.</figcaption></figure><p>Based on the results obtained from testing the <strong>RocketNet </strong>and <strong>AlexNet </strong>models, we are satisfied with the outcomes. Although <strong>RocketNet</strong> demonstrated slightly lower efficiency, it handled class diversity better and minimized concentrated errors, which gives us confidence in the potential for further improvements. This highlights that simpler networks can be just as effective, and even more stable, in practical applications, opening up new possibilities for exploring different network architectures.</p><h3>What Does a Neural Network “See”?</h3><p>To gain a deeper understanding of image recognition process in a convolutional network, our team decided to use the <strong><em>Grad-CAM</em> </strong>technique to “look” deep inside the network. This method analyzes which areas of an image influence the model’s decisions and how the model interprets various visual features. By doing so, we can better understand how the convolutional network classifies objects, which can help improve its performance. <br>The process involves generating a matrix that results from “passing” an image through successive convolution layers. A “thermal” scale is then applied to the generated image. In the next step, this heatmap is superimposed on the original image before it is processed by the neural network. The deeper the layer of the convolutional network, the less visual meaning the heatmap generates.</p><p>Finally, the output passes through the dense layer, which plays a key role in classification. It‘s important that the heatmaps generated in this process are only a visual representation of the mathematical calculations performed by the neural network.</p><p>In the images below, the networks start at the very bottom, so the images should be interpreted from the bottom up.</p><p>These images show how <strong>AlexNet </strong>attempted to accurately and comprehensively identify the objects in the image. <strong>RocketNet</strong>, on the other hand, also began by analyzing and generalizing the entire image. However in the final step, it generated a heatmap that no longer resembled the original image. The last convolutional layer only provided a signal to the dense network, which interpreted it as a class of block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*XeLY2BaqTc4B4snBpbpieQ.png" /><figcaption><strong>AlexNet:</strong> Grad-CAM visualization: highlighting the areas influencing the model’s decision. images should be interpreted from the bottom up.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*KPbcVCiFQ0dg9V2Y65rImQ.png" /><figcaption><strong>RocketNet:</strong> Grad-CAM visualization: highlighting the areas influencing the model’s decision. images should be interpreted from the bottom up.</figcaption></figure><h3><strong>How Can This Be Used? Examples of Applications</strong></h3><h4><strong>LEGO building app</strong></h4><p>In summary, we have developed an artificial intelligence model that recognizes LEGO bricks, opening up new possibilities for building design. With the app, users can use the full potential of the bricks they own.</p><p><strong>Application Features:</strong></p><ul><li><strong>Stack of Blocks Analysis — </strong>The app scans the available bricks and recognizes all the elements, allowing you to accurately determine what you have.</li><li><strong>Model Suggestions — </strong>Based on the identified blocks, the app suggests various models that can be built, tailored to the chosen theme, such as vehicles, buildings, or characters.</li><li><strong>List of Needed Elements —</strong> After selecting a model, the app will show which of the available bricks can be used for construction, matching the model with the bricks you already own. This helps you build without needing to buy additional pieces.</li><li><strong>Automatic Generation of Instructions — </strong>Once a model is chosen, the app automatically generates detailed step-by-step instructions, simplifying the building process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WfFD8cniErb09iOGsm5HOw.png" /><figcaption>A diagram of the application’s operation. LEGO pictures, used as an example — source: <a href="https://www.lego.com/">https://www.lego.com/</a></figcaption></figure><p>It’s a modern tool for LEGO enthusiasts that transforms the building process into an even more creative and accessible experience!</p><h4>App to Support Blind and Visually Impaired People in Building LEGO Sets</h4><p>The app aims to help blind and visually impaired individuals build LEGO sets, offering tools that not only improve skills but also create an engaging, interactive experiences.</p><p>LEGO has previously introduced Braille learning sets to support the education of blind children, and this application, using a neural network model to recognize bricks, extends these capabilities, making building accessible and fully adaptable.</p><p><strong>Application Features:</strong></p><ul><li><strong>Project Selection — </strong>The app begins by presenting the project with a simple, user-friendly description tailored to encourage further interaction.</li><li><strong>LEGO Block Recognition — </strong>Using the camera, the app automatically recognizes bricks and identifies them with voice prompts, making it easier for users to quickly find the right pieces.</li><li><strong>Braille Learning — </strong>Integration with Braille learning kits enables interactive games and tasks that support skill development in a fun and accessible way.</li><li><strong>Voice Instructions — </strong>The app provides detailed, step-by-step voice instructions, guiding users in selecting the correct bricks and placing them in the right spots.</li><li><strong>Interactive Storytelling — </strong>To enrich the building process, the app includes storytelling about the models, such as fun facts about real buildings or vehicles, making the experience more engaging.</li><li><strong>Error Detection — </strong>The app monitors construction progress, detects errors, and notifies users to make corrections as needed.</li><li><strong>Congratulations and Suggestions —</strong> Once the build is complete, the app congratulates the user on their achievement and suggests further projects tailored to their skill level.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cfwmL1bKTNRz-OQRhiDPzA.png" /><figcaption>Source: <a href="https://www.lego.com/">https://www.lego.com/</a></figcaption></figure><p>This app not only opens up the world of LEGO to blind and visually impaired users, but also enhances their creativity and develops their skills through engaging and educational experiences.</p><h4><strong>An Application to Organize and Manage LEGO Collection</strong></h4><p>This app is an innovative tool that enables users to catalog and manage LEGO bricks in a simple and intuitive way.</p><p>With the scanning function, users can automatically recognize and record detailed information about their bricks, including type and quantity, which helps in efficient organization.</p><p><strong>Application features:</strong></p><ul><li><strong>Automatic Brick Recognition </strong>— The user scans the blocks and the app automatically identifies their shape, color and other features, saving the data to a digital collection.</li><li><strong>Segregate by Category </strong>—The app allows users to easy sort pieces by their shape, color and other characteristics, making it much easier to organize and quickly locate specific pieces.</li><li><strong>Business Support</strong>— The app is also useful for businesses that purchase large quantities of mixed bricks. It enables fast sorting of LEGO bricks and filters out non-LEGO pieces, enhancing workflow efficiency.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1v2mQNnH-0iWn_Ta9pjX2g.png" /><figcaption>Source: <a href="https://www.lego.com/">https://www.lego.com/</a></figcaption></figure><p>The app is ideal for LEGO enthusiasts and professionals alike, offering simple and efficient management of even the largest brick collections.</p><h4><strong>LEGO Shopping and Replacement App</strong></h4><p>The app helps LEGO fans manage their collection efficiently, making it easier to complete sets and replace or purchase missing pieces.</p><p>With modern features, users canmaximize their collections with ease.</p><p><strong>Application Features:</strong></p><ul><li><strong>Scanning and Identifying Bricks — </strong>Users can scan blocks using their smartphone’s camera, and the app automatically recognizes and catalogs the items, simplifying collection management.</li><li><strong>Finding Missing Pieces </strong>— The application analyzes the user’s collections, identifying missing items in sets, helping speed up the completion process.</li><li><strong>Shopping Hints </strong>— The app compares prices for missing bricks across various online stores, providing the best purchase options so users can choose the best deal.</li><li><strong>Brick Swapping Platform </strong>—Users can swap LEGO bricks with other collectors. You can offer surplus pieces and search for the ones you need to complete your sets.</li><li><strong>Purchase Recommendations </strong>— Based on an analysis of the user’s collection and preferences, the app suggests new LEGO sets that may be of interest.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8g-NRSFuo-jZBgck9rPmgQ.png" /><figcaption>Source: <a href="https://www.lego.com/">https://www.lego.com/</a></figcaption></figure><p>With this app, LEGO fans can easily manage their collections, fill in missing pieces, and connect with other collectors to build a more diverse and comprehensive collection.</p><h3><strong>Summary</strong></h3><p>Working on this project was a great opportunity for our team to learn and collaborate. Each of us brought something different, which helped us tackle problems from various angles. We were able to share ideas, discuss openly, and find creative solutions together.</p><p>The LEGO project quickly became more than just an assignment. LEGO has been a source of fun and creativity for years, and it was exciting to work with something so well-loved.</p><p>We did face some challenges, especially with hardware limitations that prevented us from testing the model on a wider range of LEGO bricks. Still, we were able to build a functional model with room for future improvements. Our work has sparked our interest, and we’d love to continue the project with more resources.</p><p>We’re proud of what we achieved and the friendships we’ve made during this project. None of us had a background in programming before, and we come from different fields with no experience in Data Science or IT.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f285ffab3327" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rocket-science-team/training-a-cnn-for-lego-bricks-recognition-f285ffab3327">Training a CNN for Lego bricks recognition</a> was originally published in <a href="https://medium.com/rocket-science-team">Rocket Science Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>