<?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: Samuel</title>
    <description>The latest articles on DEV Community by Samuel (@oyis12).</description>
    <link>https://dev.to/oyis12</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1054728%2F589b6cda-a137-43b1-a714-5b07c0ed4a24.jpg</url>
      <title>DEV Community: Samuel</title>
      <link>https://dev.to/oyis12</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oyis12"/>
    <language>en</language>
    <item>
      <title>I built a private ingredient-label reader for my cousin with open-source OCR</title>
      <dc:creator>Samuel</dc:creator>
      <pubDate>Fri, 02 Oct 2026 11:15:51 +0000</pubDate>
      <link>https://dev.to/oyis12/i-built-a-private-ingredient-label-reader-for-my-cousin-with-open-source-ocr-1o67</link>
      <guid>https://dev.to/oyis12/i-built-a-private-ingredient-label-reader-for-my-cousin-with-open-source-ocr-1o67</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;At the grocery store, an ingredient label is a tiny block of text that can matter a lot. My cousin has to pay close attention to food labels, so I built &lt;strong&gt;LabelKind&lt;/strong&gt; as a second pair of eyes: choose what you want to check, take a photo of a packaged-food label, and review any possible matches.&lt;/p&gt;

&lt;p&gt;I didn't want to make another app that points a camera at a meal and guesses what is in it. A photo can't show every ingredient, sauce, or cross-contact risk. LabelKind reads the printed ingredient list instead, shows the exact terms it matched, and leaves the decision with the person holding the package.&lt;/p&gt;

&lt;p&gt;The avoid list starts empty. Your choices live only for the current browser session; I did not put my cousin's profile into the app or the repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://oyis12.github.io/foodAllergies/" rel="noopener noreferrer"&gt;Try the live demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Choose &lt;strong&gt;Try a sample&lt;/strong&gt; to see the matching flow without using a personal food label. Or scan a clear package photo or paste the ingredient text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/oyis12/foodAllergies" rel="noopener noreferrer"&gt;View the source on GitHub&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;LabelKind is a React app built with Vite. For a label photo, &lt;a href="https://github.com/naptha/tesseract.js" rel="noopener noreferrer"&gt;Tesseract.js&lt;/a&gt; runs Tesseract's open-source LSTM neural-network OCR engine in the browser through WebAssembly. That OCR model is the AI at the center of the photo-to-text step.&lt;/p&gt;

&lt;p&gt;After OCR, a small matching layer checks the recognized words against the terms the person selected. This part is deliberately transparent: it displays the matching words, distinguishes allergy terms from intolerance terms, and lets the user edit the OCR text. If the photo is hard to read, the ingredient list can be pasted instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Food and health information is personal. Running open-source OCR in the browser lets LabelKind read a label without uploading the photo to a closed AI API. There is no account or server-side profile, and the model and matching behavior can be inspected and changed. I could make this without paying per scan or sending a photo to a vendor to get words back.&lt;/p&gt;

&lt;p&gt;There is a trade-off: the first scan needs an internet connection to download the OCR worker, WebAssembly runtime, and English language data. The photo is processed in the browser; the app does not send it to a model service.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned / Next Step
&lt;/h2&gt;

&lt;p&gt;LabelKind is a screening aid, never a food-safety guarantee. OCR can miss small print or misread a word. It can't detect cross-contact, recipe changes, or undeclared ingredients. For severe allergies, people still need to check the original package and contact the manufacturer if anything is unclear.&lt;/p&gt;

&lt;p&gt;After trying the demo, my cousin said he thought it was awesome. He also suggested a useful next step: let each person create a profile with the ingredients they want to avoid, then use that profile to check label text or receipts they provide. The current version doesn't have accounts or saved profiles. Adding persistent allergy data would require clear consent, strong data protection, and a delete control before I'd ship it.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Ai to get UI/ux</title>
      <dc:creator>Samuel</dc:creator>
      <pubDate>Wed, 29 Mar 2023 11:49:16 +0000</pubDate>
      <link>https://dev.to/oyis12/ai-to-get-uiux-5h6i</link>
      <guid>https://dev.to/oyis12/ai-to-get-uiux-5h6i</guid>
      <description>&lt;p&gt;Hello devs please is there any Ai that can generate UI/UX for an ecommerc website, am currently working on a personal project&lt;/p&gt;

</description>
      <category>uiweekly</category>
      <category>aigenerate</category>
    </item>
  </channel>
</rss>
