Smart Recycling: AI Programming and Gemma 4 in Poland
A new web application uses AI to simplify recycling in Poland, demonstrating the potential of open-source technology for sustainability.

The challenge of waste sorting with technology
Have you ever stood in front of a bin, unsure whether a hair dye container or a greasy pizza box belongs in the recycling or the general trash? This is a recurring dilemma in Poland, where the waste management system is divided into six strict color-coded categories. To solve this everyday problem, a technical writer has developed "Gdzie to wyrzucić?" (Where to throw this?), a web application that uses artificial intelligence to classify waste via photographs.
The project, presented as part of the Gemma 4 challenge, illustrates how modern programming allows non-technical individuals to create high-impact solutions. By integrating advanced language models, the tool analyzes images in real-time to provide a precise answer regarding the correct bin, eliminating the ambiguity created by the current recycling system.
AI at the service of the environment
The core of the application is Gemma 4, Google's open-weights language model. Through a Mixture-of-Experts (MoE) architecture, the system processes images and compares them against a predefined rule base, returning a structured result in JSON format.
"Gemma is the heart of the project. The MoE architecture allows the model to be efficient and capable of handling complex cases without the need for massive computational resources."
The technical implementation stands out for its simplicity and accessibility. Using javascript on the frontend, the application processes images volatilely: they are sent to the API, analyzed, and immediately discarded, ensuring user privacy. This development approach proves that, even without deep engineering training, it is possible to execute robust projects. If you are interested in delving into how to integrate these capabilities into other environments, you can consult our guide on Programación con IA en PHP: Comparativa de Laravel AI, Prism y Neuron.
Towards a sustainable and scalable future
Although the project was born as a local solution for Poland, its potential is global. The creator plans to integrate support for English and Ukrainian, as well as include circular economy features, such as suggesting the reuse of objects before recycling them.
The use of open source technology is key here: the possibility of running models like Gemma locally (on the user's device) opens the door to a faster, more private application capable of functioning without relying on cloud latency. These types of advances mark a turning point in how we understand software development; as we explored in our analysis on De la idea a la producción: El salt clau en la programació d'IA, the leap from a prototype to a functional tool is now shorter than ever.
Conclusion
The "Gdzie to wyrzucić?" project is a reminder that technology, when applied correctly, can resolve social and environmental friction. The combination of efficient AI models with an intuitive interface demonstrates that the democratization of technology is transforming our relationship with everyday problems, finally making recycling a simple task.
Related articles
21 de mayo de 2026
Reciclatge intel·ligent: programació amb IA i Gemma 4 a Polònia
Una nova aplicació web utilitza IA per simplificar el reciclatge a Polònia, demostrant el potencial de la tecnologia open source en la sostenibilitat.
21 de mayo de 2026
Reciclaje inteligente: programación con IA y Gemma 4 en Polonia
Una nueva aplicación web utiliza IA para simplificar el reciclaje en Polonia, demostrando el potencial de la tecnología open source en la sostenibilidad.
20 de mayo de 2026
Programació amb IA en PHP: Comparativa de Laravel AI, Prism i Neuron
Analitzem les tres eines clau per integrar IA en PHP: Laravel AI SDK, Prism i Neuron, perquè triïs la millor opció segons el teu projecte.
20 de mayo de 2026
AI Programming in PHP: A Comparison of Laravel AI, Prism, and Neuron
We analyze the three key tools for integrating AI into PHP: Laravel AI SDK, Prism, and Neuron, helping you choose the best option for your project.
Loading comments...