<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: hicham outaleb</title>
    <description>The latest articles on DEV Community by hicham outaleb (@hi1talib1world).</description>
    <link>https://dev.to/hi1talib1world</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F476326%2F42dc9e84-b39c-4910-9522-2d2d52b41135.jpg</url>
      <title>DEV Community: hicham outaleb</title>
      <link>https://dev.to/hi1talib1world</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hi1talib1world"/>
    <language>en</language>
    <item>
      <title>20 Scary Programming Theories You Should Know</title>
      <dc:creator>hicham outaleb</dc:creator>
      <pubDate>Thu, 20 Feb 2025 22:54:49 +0000</pubDate>
      <link>https://dev.to/hi1talib1world/20-scary-programming-theories-you-should-know-3nn3</link>
      <guid>https://dev.to/hi1talib1world/20-scary-programming-theories-you-should-know-3nn3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foanmnxqki0rfplzrej88.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foanmnxqki0rfplzrej88.png" alt="Image description" width="640" height="645"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Programming has long been a field filled with innovation, complexity, and even some mystery. But beyond the daily tasks and lines of code, there are some unsettling theories that explore the darker side of software development. These theories challenge our understanding of what happens behind the scenes and paint a picture of the potential dangers that could emerge from increasingly complex systems.&lt;/p&gt;

&lt;p&gt;Let’s dive into 20 eerie theories that might just make you think twice about your next line of code.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Code Zombies&lt;br&gt;
Imagine running legacy code that's been abandoned for years, riddled with bugs and vulnerabilities. These "code zombies" keep functioning, spreading through systems without anyone realizing the chaos they're causing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Self-Programming Code&lt;br&gt;
The ultimate horror for programmers: code that learns and adapts on its own. As artificial intelligence evolves, the idea of self-modifying code becomes less fiction and more a terrifying reality. What happens when it no longer needs human intervention?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spaghetti Code&lt;br&gt;
A nightmare for developers—code that’s so tangled and unorganized that it becomes nearly impossible to maintain, let alone scale. Over time, it gets worse, and no one dares touch it. It’s like a web of complexity that entraps everyone involved.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Immortal Software&lt;br&gt;
What if there was software that never needed an update? That’s both a blessing and a curse. As it lives on, bugs might accumulate, and eventually, it becomes more of a liability than a solution. The longer it runs, the more likely it is to develop unforeseen issues.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rogue AI&lt;br&gt;
AI systems designed to automate processes can go rogue. This theory contemplates the idea of AI evolving beyond human understanding, making decisions that could conflict with human intentions, leading to chaos.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sudden Failure Theory&lt;br&gt;
Picture your system running smoothly for months, only for it to collapse without warning. Hidden bugs, poor design choices, and unseen failures culminate in a catastrophic crash that no one saw coming.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Malicious Algorithms&lt;br&gt;
There’s a dark possibility: algorithms crafted with malintent. These could manipulate data to create financial havoc, spread misinformation, or even breach security systems. Are we building tools that could one day be weaponized?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Killer Auto-Updates&lt;br&gt;
What if every auto-update introduced a bug that rendered your system inoperable? In a world where software updates are automatic, we may be exposed to silent, deadly failures that aren’t caught until it’s too late.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Superintelligent Software&lt;br&gt;
Imagine software evolving to become smarter than its creators. This software could potentially outthink and outmaneuver human programmers, making decisions and performing tasks we can’t comprehend, which could lead to unintended consequences.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Technological Singularity&lt;br&gt;
This theory goes beyond software itself. The "singularity" refers to a future moment when AI and other technologies surpass human intelligence. It raises questions about what happens when technology evolves faster than we can control it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cursed Code&lt;br&gt;
Code can carry an eerie legacy. Sometimes, developers encounter "cursed code"—long-forgotten code that seems to break everything it touches. It behaves unpredictably and can haunt systems for years if not dealt with properly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Breakable System Theory&lt;br&gt;
Systems that can’t adapt to change are inherently brittle. In this theory, software becomes fragile, breaking apart as soon as you try to modify or scale it. The more complex the system, the more likely it is to collapse under pressure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Deterministic Programming&lt;br&gt;
In deterministic programming, everything is preordained. Every action and output is fully predictable and fixed. While this may sound ideal, it can be limiting and doesn’t account for the dynamic nature of real-world data and human interactions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Self-Destructive Code&lt;br&gt;
Some code is designed with the intention of destroying itself. Whether through security exploits or intentional logic, this kind of code can sabotage systems at crucial moments, leaving a trail of destruction.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Digital Explosion Theory&lt;br&gt;
When a bug or vulnerability explodes in a digital system, it can quickly spiral out of control. One small issue can lead to massive failures, as interconnected systems amplify the problem.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Technological Entanglement&lt;br&gt;
Over time, as we integrate more systems and software, they become tangled in a way that makes it impossible to resolve issues. This web of dependencies creates a nightmare scenario where everything is connected, and one failure can bring down the whole structure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Dead Programmers’ Code&lt;br&gt;
What happens when a codebase is maintained by a developer who has either left the company or, worse, passed away? This "dead programmer's code" can become impossible to understand or update. Eventually, the software becomes a ticking time bomb waiting to fail.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Eco-Destructive Programming&lt;br&gt;
In the race for faster, more efficient code, we may inadvertently be harming our digital environments. Eco-destructive programming involves inefficient algorithms or systems that waste resources, causing long-term damage to both digital and physical infrastructures.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Deep Recursion Theory&lt;br&gt;
Deep recursion, if not managed carefully, can cause memory leaks, crashes, or stack overflows. A deeply nested recursive function can spiral out of control, causing the program to fail or crash in unexpected ways.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Superpower System Theory&lt;br&gt;
A superpower system is one that becomes too powerful for its creators to control. This kind of system could be AI-driven or a complex network of algorithms that ends up managing its own evolution—making it unpredictable and potentially dangerous.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Conclusion&lt;br&gt;
While most of these theories are based on hypothetical scenarios, they serve as a reminder of the complexities and risks inherent in modern software development. As we push the boundaries of technology, it’s crucial to maintain a healthy skepticism and approach our systems with caution. It’s not just about writing code that works—it’s about ensuring that code remains safe, reliable, and controllable.&lt;/p&gt;

&lt;p&gt;Have you encountered any of these eerie theories in your development work? Let us know in the comments below!&lt;/p&gt;

</description>
      <category>programming</category>
      <category>podcast</category>
      <category>top7</category>
    </item>
    <item>
      <title>Unleashing the Power of TensorFlow: Integrating Machine Learning Magic into Your Flutter Apps 🚀✨</title>
      <dc:creator>hicham outaleb</dc:creator>
      <pubDate>Sun, 26 Nov 2023 16:31:44 +0000</pubDate>
      <link>https://dev.to/hi1talib1world/unleashing-the-power-of-tensorflow-integrating-machine-learning-magic-into-your-flutter-apps-492d</link>
      <guid>https://dev.to/hi1talib1world/unleashing-the-power-of-tensorflow-integrating-machine-learning-magic-into-your-flutter-apps-492d</guid>
      <description>&lt;p&gt;In a world where machine learning seamlessly intertwines with our daily routines, from personalized music recommendations on YouTube to curated suggestions on Amazon, the potential of this technology is boundless. But how can we harness its power?&lt;/p&gt;

&lt;p&gt;Join us on a journey through the intricacies of incorporating machine learning models as the brains behind your Flutter applications. This blog unveils the simplicity of creating robust ML-driven Flutter experiences, offering a glimpse into the vast possibilities that await. Let's delve into the realm of technology where innovation meets accessibility.&lt;/p&gt;

&lt;h2&gt;
  
  
  Definitions
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Futlfnwizxs4y2djcxhog.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Futlfnwizxs4y2djcxhog.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Artificial Intelligence (AI):
&lt;/h2&gt;

&lt;p&gt;Artificial Intelligence, or AI, refers to machines performing tasks in a smart and intelligent manner. Consider your experience with YouTube's search bar—typing even non-starting lyrics fetches almost perfect results. AI enables machines to handle tasks that typically require human intelligence, demonstrating the ability to discern and understand.&lt;/p&gt;

&lt;h2&gt;
  
  
  1.2. Machine Learning (ML):
&lt;/h2&gt;

&lt;p&gt;Machine Learning is a subset of AI, focusing on exposing machines to new data and enabling them to decide future outputs. Think of it as a sub-field of AI dedicated to extracting patterns from data sets. With exposure to new data and iterative processing, machines gradually reach expected results, finding rules for optimal behavior and adapting to changing data, much like humans do.&lt;/p&gt;

&lt;h2&gt;
  
  
  1.3. Deep Learning (DL):
&lt;/h2&gt;

&lt;p&gt;Deep Learning is a subset of Machine Learning, involving neural networks with multiple layers. These networks aim to simulate human brain behavior, essentially creating an artificial human brain. Even with a single layer, approximate predictions are possible, but additional layers optimize and refine accuracy, making the system more sophisticated.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of ML
&lt;/h2&gt;

&lt;p&gt;Before diving into implementation, understanding the types of machine learning is crucial. Let's explore the landscape to determine which type best suits our intended functionality.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm62if40q6yaqeez1bgcm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm62if40q6yaqeez1bgcm.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
2.1. Supervised Learning&lt;br&gt;
In the realm of supervised learning, the process unfolds under watchful guidance. The machine learns from data that is already classified — each piece with fixed labels, mapping inputs to outputs. Once mastered, the machine becomes adept at classifying new data. Think fraud detection, spam filtering, and beyond.&lt;/p&gt;

&lt;p&gt;2.2. Unsupervised Learning&lt;br&gt;
Contrasting the structured nature of supervised learning, unsupervised learning operates in a realm of raw, untagged data. Here, the machine takes the reins, creating new classes by uncovering patterns. Ideal for tasks like clustering and association.&lt;/p&gt;

&lt;p&gt;2.3. Semi-Supervised Learning&lt;br&gt;
Recognizing the limitations of both supervised and unsupervised learning, semi-supervised learning blends the strengths of both. By feeding both raw and categorized data to the machine, it overcomes constraints. The machine classifies raw data and, if needed, forms new clusters.&lt;/p&gt;

&lt;p&gt;2.4. Reinforcement Learning&lt;br&gt;
Enter reinforcement learning, where the machine learns from its own journey. Feedback from the last output, coupled with new data, guides the machine's evolution. This feedback loop continues until perfection is reached, akin to a human child learning from exploration and correction. Users provide feedback in the form of punishment or reward, shaping the machine's growth — much like a search algorithm refining its results based on user interaction.&lt;/p&gt;

&lt;p&gt;Embark on this journey through machine learning types, and discover the nuances that make each methodology a powerful tool in shaping intelligent systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  TensorFlow
&lt;/h2&gt;

&lt;p&gt;Machine learning, a labyrinth of tasks encompassing data acquisition, model training, prediction serving, and result refinement, finds its ally in TensorFlow. Developed by Google in November 2015, TensorFlow is a comprehensive framework that streamlines these intricate processes, making them more accessible.&lt;/p&gt;

&lt;h2&gt;
  
  
  3.1. TensorFlow Lite: Unleashing Possibilities on Limited Resources
&lt;/h2&gt;

&lt;p&gt;Enter TensorFlow Lite, a nimble sibling of the comprehensive TensorFlow framework. Tailored for devices with constrained resources like limited RAM or memory, TensorFlow Lite allows the seamless execution of machine learning models in such resource-challenged environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  3.2. TensorFlow Lite Features: A Compact Powerhouse
&lt;/h2&gt;

&lt;p&gt;TensorFlow Lite addresses five pivotal constraints, optimizing on-device machine learning:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Latency&lt;/strong&gt;: Eliminates the need for round-trip communication with a server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy&lt;/strong&gt;: Ensures no personal data leaves the device, prioritizing user privacy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connectivity&lt;/strong&gt;: Operates independently of internet connectivity, enhancing accessibility.&lt;/li&gt;
&lt;li&gt;Size: Reduces the model and binary size, minimizing the footprint on the device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Power Consumption&lt;/strong&gt;: Prioritizes efficiency in inference and lacks the need for constant network connections.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;*&lt;em&gt;Versatility and Performance in a Compact Package:&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Device Compatibility&lt;/strong&gt;: Extends support to Android and iOS devices, embedded Linux, and microcontrollers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Programming Languages&lt;/strong&gt;: Adaptable to Java, Swift, Objective-C, C++, and Python, offering flexibility in development.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High Performance&lt;/strong&gt;: Leverages hardware acceleration and model optimization for seamless, high-performance execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;End-to-End Examples&lt;/strong&gt;: TensorFlow Lite boasts end-to-end examples for prevalent machine learning tasks, such as image classification, object detection, pose estimation, question answering, text classification, and more. These examples cater to multiple platforms, providing a versatile toolkit for developers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the realm of machine learning, TensorFlow Lite emerges as a compact powerhouse, unlocking the potential of on-device ML even in resource-constrained settings. Let's embark on a journey where efficiency meets versatility in the palm of your hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Flutter?
&lt;/h2&gt;

&lt;p&gt;Flutter is an open source, cross-platform development framework. With the help of Flutter by using a single code base, we can create applications for Android, iOS, web, as well as desktop. It was created by Google and uses Dart as a development language. The first stable version of Flutter was released in Apr 2018, and since then, there have been many improvements. &lt;/p&gt;

&lt;h2&gt;
  
  
  Building an ML-Flutter Application
&lt;/h2&gt;

&lt;p&gt;Embark on a journey of innovation as we dive into the creation of a captivating Flutter application, a marvel that unravels the mysteries of gauging a person's state of mind through facial expressions. Brace yourself for a captivating adventure as we unfold the steps tailored for an Android-native application. If you're venturing into the realm of iOS, worry not! Find the corresponding steps and enchanting guidance in the links provided. Let the magic of machine learning and Flutter converge in this spellbinding creation! 🚀✨&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. TensorFlow Lite - Native setup (Android)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In android/app/build.gradle, add the following setting in the android block:
&lt;code&gt;aaptOptions {
    noCompress 'tflite'
    noCompress 'lite'
}&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. TensorFlow Lite - Flutter setup (Dart)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an assets folder and place your label file and model file in it. (These files we will create shortly.) In pubspec.yaml add:
` assets:

&lt;ul&gt;
&lt;li&gt;assets/labels.txt&lt;/li&gt;
&lt;li&gt;assets/.tflite`&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57s4513k1dd1z32asy1c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57s4513k1dd1z32asy1c.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Run this command (Install TensorFlow Light package): &lt;br&gt;
&lt;code&gt;$ flutter pub add tflite&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the following line to your package's pubspec.yaml (and run an implicit flutter pub get):&lt;br&gt;
&lt;code&gt;dependencies:&lt;br&gt;
 tflite_flutter: ^0.10.3&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now in your Dart code, you can use:&lt;br&gt;
&lt;code&gt;import 'package:tflite/tflite.dart';&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add camera dependencies to your package's pubspec.yaml (optional):&lt;br&gt;
&lt;code&gt;dependencies:&lt;br&gt;
 camera: ^0.10.0+1&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now in your Dart code, you can use:&lt;br&gt;
&lt;code&gt;import 'package:camera/camera.dart';&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;As the camera is a hardware feature, in the native code, there are few updates we need to do for both Android &amp;amp; iOS.  To learn more, visit:&lt;br&gt;
&lt;a href="https://pub.dev/packages/camera" rel="noopener noreferrer"&gt;https://pub.dev/packages/camera&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Following is the code that will appear under dependencies in pubspec.yaml once the the setup is complete.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi5hcsgkm857melki91cj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi5hcsgkm857melki91cj.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Flutter will automatically download the most recent version if you ignore the version number of packages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Do not forget to add the assets folder in the root directory.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5.3. Generate model (using website)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Visit the following website &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://teachablemachine.withgoogle.com/" rel="noopener noreferrer"&gt;https://teachablemachine.withgoogle.com/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6fdou451cgtmchsbjmkc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6fdou451cgtmchsbjmkc.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on Get Started&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp63dagg6s6xf9hi2bqsc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp63dagg6s6xf9hi2bqsc.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Select Image project&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;There are three different categories of ML projects available. We'll choose an image project since we're going to develop a project that analyzes a person's facial expression to determine their emotional condition.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The other two types, audio project and pose project, will be useful for creating projects that involve audio operation and human pose indication, respectively.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ljrk7q6ljviztznjhb0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ljrk7q6ljviztznjhb0.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Select Standard Image model&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once more, there are two distinct groups of image machine learning projects. Since we are creating a project for an Android smartphone, we will select a standard picture project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The other type, an Embedded Image Model project, is designed for hardware with relatively little memory and computing power.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fok3sah3c9ksfkjucj8n7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fok3sah3c9ksfkjucj8n7.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Upload images for training the classes&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We will create new classes by clicking on “Add a class.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We must upload photographs to these classes as we are developing a project that analyzes a person's emotional state from their facial expression.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The more photographs we upload, the more precise our result will be.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05n3mfe1v2m0949kwq0a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05n3mfe1v2m0949kwq0a.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on train model and wait till training is over&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F705mxhcdr4kat2abc9ov.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F705mxhcdr4kat2abc9ov.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on Export model&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdthqllkg91dvigjxntje.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdthqllkg91dvigjxntje.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select TensorFlow Lite Tab -&amp;gt; Quantized  button -&amp;gt; Download my model&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg1lp5xwij30r2vme74bf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg1lp5xwij30r2vme74bf.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5.4. Add files/models to the Flutter project
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Labels.txt
File contains all the class names which you created during model creation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn5j5wonissootm6rze8b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn5j5wonissootm6rze8b.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;*.tflite
File contains the original model file as well as associated files a ZIP.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa3qa9xpz0dbhhzxllf0u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa3qa9xpz0dbhhzxllf0u.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5.5. Load &amp;amp; Run ML-Model
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;We are importing the model from assets, so this line of code is crucial. This model will serve as the project's brain.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffk7m032k8m14wxjeorpi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffk7m032k8m14wxjeorpi.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Here, we're configuring the camera using a camera controller and obtaining a live feed (Cameras[0] is the front camera).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0yfjkja2l78dfvje34or.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0yfjkja2l78dfvje34or.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Furthp8vmvcon40dqy4jz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Furthp8vmvcon40dqy4jz.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;We can achieve good performance of a Flutter app with an appropriate architecture, as discussed in this blog.&lt;/p&gt;

</description>
      <category>flutter</category>
    </item>
  </channel>
</rss>
