<?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: Satvik Singh</title>
    <description>The latest articles on DEV Community by Satvik Singh (@satviksingh192).</description>
    <link>https://dev.to/satviksingh192</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%2F4158161%2Fbf65c7bd-9bcc-4076-b988-a9cb21c6ee0e.png</url>
      <title>DEV Community: Satvik Singh</title>
      <link>https://dev.to/satviksingh192</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/satviksingh192"/>
    <language>en</language>
    <item>
      <title>What I learned interning at Fileverse</title>
      <dc:creator>Satvik Singh</dc:creator>
      <pubDate>Tue, 24 Nov 2026 08:15:54 +0000</pubDate>
      <link>https://dev.to/satviksingh192/what-i-learned-interning-at-fileverse-39e8</link>
      <guid>https://dev.to/satviksingh192/what-i-learned-interning-at-fileverse-39e8</guid>
      <description>&lt;p&gt;Alright so I finally wrapped up my internship at Fileverse a few weeks back, and I've been meaning to sit down and actually write about what I learned instead of just letting it rot in my brain. It was my first time working with Web3 so I was definietly nervous in the beginning. So this is me trying to unpack the stuff that actually stuck.&lt;/p&gt;

&lt;h2&gt;
  
  
  Private IPFS is wayyy cooler and secure
&lt;/h2&gt;

&lt;p&gt;One of the bigger things I worked on was adding private uploads to our IPFS storage layer (we use Pinata under the hood). Public IPFS is simple in a way anyone with the CID can fetch the content and that causes security concerns in many ways. Sure, we can encrypt the file before uploading it but....thats not secure in the long run(what if our keys get leaked years after the inital upload... we cant forcefully remove copies of our encrypted file from 3rd party) .&lt;/p&gt;

&lt;p&gt;In the newer version, Pinata provides private uploads and it works like as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hiding from Public IPFS DHT(Distributed Hash Table): after computing the content hash, it doesnt broadcast the CID to the DHT.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unaccessible&lt;/strong&gt; from public IPFS gateways: private files cant be accessed through public IPFS gateways like: &lt;a href="https://ipfs.io/ipfs/" rel="noopener noreferrer"&gt;https://ipfs.io/ipfs/&lt;/a&gt; . So, even if your CID is leaked...fear not. Its not game over.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Alright, but how do we even access our own files on the private IPFS...&lt;/p&gt;

&lt;p&gt;There are mainly two ways:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Signed Urls: generate a short lived link using our API key(best for the client side to fetch the files directly)&lt;/li&gt;
&lt;li&gt;Direct Backend Retrieval: fetch the raw file payload with our API credentials.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Restricting who can even upload was its own rabbit hole
&lt;/h2&gt;

&lt;p&gt;Well the private Upload is cool and all but not everyone can enjoy it. I won't get into the specifics of how we identify a legitimate caller (that part's internal and not really blog material). I initially tried to shove the check into an existing middleware that already handled a related but different case, and my reviewer (rightly) told me to just split it into its own thing.&lt;/p&gt;

&lt;p&gt;So, the lesson is that dont just reuse random scraps if they look useful as debugging will be hell in future.&lt;/p&gt;

&lt;h2&gt;
  
  
  Storage doesn't clean itself up
&lt;/h2&gt;

&lt;p&gt;Completely separate piece of work, we had a slow storage leak where every time a document got saved, it created a new pinned copy. These kept accumulating and filling up the storage quota.&lt;/p&gt;

&lt;p&gt;The fix wasnt conceptually hard, just keep the last N versions and delete the older ones but we cant just send a request to IPFS to unpin the file as soon as the user clicks delete... we just mark it to be unpinned and remove it from the UI and then a scheduled cron job can read the files marked for deletion and request Pinata to unpin it and only mark the file as deleted after a successful unpin from pinata.&lt;/p&gt;

&lt;p&gt;otherwise if we mark it as deleted before, then a failed deletetion job will cause our numbers to drift apart and a ghost file will remain pinned and consume unnecessary resources.&lt;/p&gt;

&lt;h2&gt;
  
  
  A very weird memory leak
&lt;/h2&gt;

&lt;p&gt;This one was very fun to tinker with. A service that does some cryptographic verification work was steadily eating more memory than usual and the memory usage wasnt going back down to normal idle levels after request has been responded to. There wasnt an obvious issue.&lt;/p&gt;

&lt;p&gt;Turned out the issue was buried in how a particular elliptic curve object was being initialized, inside the worker thread loop, first it was getting checked if the object has been initialized...if not then initialize the object...the initialization was a slow task. now suppose 2 request come in very close to each other...the first one sees that the object has not been initialized so it calls the initialize method and waits...then the second request comes in and sees that the object has still not been initialized so it calls the initialize again separately... we were having multiple objects living in the memory as opposed to a single one.&lt;/p&gt;

&lt;p&gt;I also implemented a resource logger at every level to help me find where the the issue arises keeping the logger itself lightweight so it doesnt hog the resources itself and flags them.&lt;/p&gt;

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

&lt;p&gt;Anyway, that's everything summarised to fit your attention span lol. I will definitely delve deeper into some of the concepts which I needed to study during this period. If any of this is useful to someone else stumbling into a similar stack, cool. If not, at least future-me has this written down somewhere.&lt;/p&gt;

</description>
      <category>web3</category>
      <category>backend</category>
      <category>ipfs</category>
      <category>career</category>
    </item>
    <item>
      <title>What if the scoreboard had no delay?</title>
      <dc:creator>Satvik Singh</dc:creator>
      <pubDate>Fri, 16 Oct 2026 20:26:14 +0000</pubDate>
      <link>https://dev.to/satviksingh192/what-if-the-scoreboard-had-no-delay-3gi2</link>
      <guid>https://dev.to/satviksingh192/what-if-the-scoreboard-had-no-delay-3gi2</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Flashback to last year, when we organised BGBO (a college level tournament for BGMI). We faced an issue: we had to spend a lot of time compiling the final points table, which ruined our viewer's mood. They wanted the result ASAP to check whether their favourites had come out on top. This problem existed even with many local scrim organisers who are in touch with us.&lt;/p&gt;

&lt;p&gt;Another issue we observed was that during the match, viewers had to keep track of their teams mentally, which is obviously not a good experience.&lt;br&gt;
A quick overview:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/6EYoxoK7YJ8" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;




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

&lt;p&gt;We built a solution that is open source and can run locally on the host's side. It reads the stream, detects new kill feed events, and updates a live points table in milliseconds, which is shown as an overlay on the stream itself. We chose this route because BGMI doesn't expose an API that we could simply parse to update the points table. This is one of the main reasons why there is no such existing application.&lt;/p&gt;

&lt;h3&gt;
  
  
  How It Works
&lt;/h3&gt;

&lt;p&gt;Before a match, the host just needs to enter the team names and their respective players' player tags into our dashboard. Then, after starting their OBS stream, they need to create a Virtual Camera 1 and start our application. It detects the stream, looks for new events in the kill feed, calculates points according to the actual standards set by the officials, and sends the update to the frontend, which is an overlay on top of the stream itself. The overlay also shows more info, such as top kills and positions.&lt;/p&gt;

&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm6p7y2vwok64nwau5cij.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm6p7y2vwok64nwau5cij.png" alt="ui" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Our application is optimised to be lightweight and can easily handle a high quality 60 FPS stream. It achieves this by filtering out the majority of useless frames that don't have any kill-feed event and passing only frames that may contain useful info into the heavier ML model.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ibb.co/nqmkf1WT" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.ibb.co%2FTD2hR0CZ%2Fhld-new.png" alt="high resolution" width="799" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;click on the image to see high quality version, thanks :)&lt;/p&gt;




&lt;h2&gt;
  
  
  Feedback After Its First Usage
&lt;/h2&gt;

&lt;p&gt;We tried hosting a real match within our college to test whether our solution could actually detect the kill feed in a live match while also handling the complexity of points distribution. The responses turned out to be in our favour: it produced the points table within seconds after the completion of the match.&lt;/p&gt;

&lt;p&gt;Here is the feedback we received:&lt;/p&gt;

&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwytas9xz409wrpyicem7.jpeg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwytas9xz409wrpyicem7.jpeg" alt="feedback" width="800" height="911"&gt;&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;Try it out yourself! The README provides simple and easy steps to get started, so you can enjoy it with your friends. Happy streaming :)&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Satvik-Singh192" rel="noopener noreferrer"&gt;
        Satvik-Singh192
      &lt;/a&gt; / &lt;a href="https://github.com/Satvik-Singh192/HACKTOBERFEST-WEEK-2-CHALLENGE" rel="noopener noreferrer"&gt;
        HACKTOBERFEST-WEEK-2-CHALLENGE
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Live BGMI Kill Feed Parser &amp;amp; Points Table Maintainer&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;An AI-assisted research prototype for turning BGMI kill-feed footage into structured events, then providing the building blocks for tournament scoring and live scoreboard delivery.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Satvik-Singh192/HACKTOBERFEST-WEEK-2-CHALLENGE/pyproject.toml" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/e2337c6b4f23911b9f1f859fff1f6c8a4ec941df0da216710b24662e2931bf20/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e31322532422d3337373641423f6c6f676f3d707974686f6e266c6f676f436f6c6f723d7768697465" alt="Python 3.12+"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Satvik-Singh192/HACKTOBERFEST-WEEK-2-CHALLENGE#contributing" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/221bf6971d9867c3eabc0977ceef61f3543884b06e7cc3e00d77a12de8bd5d53/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d77656c636f6d652d666636623335" alt="Hacktoberfest"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Satvik-Singh192/HACKTOBERFEST-WEEK-2-CHALLENGE/best_openvino_model/metadata.yaml" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cb9bef9b9b9db36f28225c8a474b9933b867851cef363179be5bf03042741e77/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f766973696f6e2d556c7472616c7974696373253230594f4c4f31312d313131463638" alt="YOLO11"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BGMI broadcasts expose eliminations as fast-changing HUD text and icons. Reading each event and updating a table by hand is slow and error-prone. This repository explores an assistive workflow: narrow a video to likely kill-feed changes, recognise the two names with OCR, classify feed icons with a trained detector, and represent the result as an &lt;code&gt;Event&lt;/code&gt; that can be checked against a tournament roster.&lt;/p&gt;
&lt;p&gt;It is aimed at tournament tools developers, stream-production teams, computer-vision contributors, and Hacktoberfest contributors—not at an already-deployed scoring service. The strongest implemented path is the AI candidate-to-event pipeline. Roster initialisation, conversion to a published table, and UI integration still need wiring.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What is here today&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;Evidence&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;MP4 frame reading and kill-feed&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;…&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Satvik-Singh192/HACKTOBERFEST-WEEK-2-CHALLENGE" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
    &lt;iframe src="https://www.youtube.com/embed/-j_lypruTZA" width="710" height="399"&gt;
  &lt;/iframe&gt;

&lt;/h2&gt;

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

&lt;p&gt;As discussed earlier, the game itself does not provide any API, so the only feasible solution aligns with what we have built: an open-source, local setup that adds an overlay on an OBS stream.&lt;/p&gt;

&lt;p&gt;Our solution uses a multimodal approach to read the kill feeds using &lt;strong&gt;PaddleOCR&lt;/strong&gt; and a fine-tuned &lt;strong&gt;YOLOv11&lt;/strong&gt; (both are open-weight models).&lt;/p&gt;

&lt;p&gt;This open innovation enabled a multimodal system that combines pixel-change detection, glyph matching, OCR, and object detection, something a closed API with predefined outputs would have made difficult.&lt;/p&gt;




&lt;h2&gt;
  
  
  Technical Dive
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://ibb.co/1YR3nF49" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.ibb.co%2FJWrNdDSz%2Flld.png" alt="core" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;click on the image to see high quality version, thanks :)&lt;/p&gt;

&lt;p&gt;This section highlights how we actually handled a 60 FPS stream with low latency for live updates. We can't send all 60 frames every second to our ML pipeline because it would become the bottleneck: unprocessed frames would keep piling up, and it would consume excessive resources too.&lt;/p&gt;

&lt;p&gt;So, we need a filtering layer sitting before the ML pipeline that throws away most of the useless frames that don't contain any kill feed. This layer needs to be deterministic and computationally lightweight.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 1: Region of Interest (ROI) Cropping
&lt;/h3&gt;

&lt;p&gt;First of all, we crop only the region of interest (ROI) from each frame, reducing the number of pixels we need to perform computations on, as the total number of pixels is proportional to the square of the image dimensions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 2: Cascading Frame Filters
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pixel intensity difference:&lt;/strong&gt; We calculate the difference in mean pixel intensity between each frame and its adjacent frame. If the pixel intensity difference is below a threshold, that frame is discarded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Binary glyph template matching:&lt;/strong&gt; If the frame passes the first check, it reaches the second stage of filtering, where we perform binary glyph template matching to detect whether the frame contains any kill-feed text.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These cascading filters drastically reduce the number of frames that actually enter the ML pipeline.&lt;/p&gt;

&lt;h3&gt;
  
  
  Filtering Results
&lt;/h3&gt;

&lt;p&gt;For reference, a 5-minute stream at 60 FPS produces &lt;strong&gt;18,000 frames&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;60 frames/sec × 60 sec/min × 5 min = 18,000 frames&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Our filtering pipeline reduces this volume in two successive stages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Layer 1: Preprocessing:&lt;/strong&gt; Reduces 18,000 frames to just &lt;strong&gt;347 frames&lt;/strong&gt;, eliminating approximately &lt;strong&gt;98.1%&lt;/strong&gt; of the incoming frames.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Layer 2: Preprocessing:&lt;/strong&gt; Further reduces 347 frames to just &lt;strong&gt;132 frames&lt;/strong&gt;, achieving an overall reduction of approximately &lt;strong&gt;99.3%&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Final result:&lt;/strong&gt; Only 132 out of 18,000 frames reach the next stage significantly reducing the workload for the ML pipeline while processing a 5 minute stream.&lt;/p&gt;

&lt;h3&gt;
  
  
  The ML Pipeline
&lt;/h3&gt;

&lt;p&gt;Now, the ML pipeline performs two-stage processing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;PaddleOCR:&lt;/strong&gt; It reads the player names, which are the actors of the events in the kill feed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fine tuned YOLOv11:&lt;/strong&gt; It classifies the important icons present in the kill feed that are necessary for the point-calculation logic.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;THIS SOLUTION IS BUILT BY A TEAM OF 4 MEMBER&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MEMBER 1: &lt;a class="mentioned-user" href="https://dev.to/satviksingh192"&gt;@satviksingh192&lt;/a&gt; (self)&lt;/p&gt;

&lt;p&gt;MEMBER 2: &lt;a class="mentioned-user" href="https://dev.to/pushpam345"&gt;@pushpam345&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;MEMBER 3: &lt;a class="mentioned-user" href="https://dev.to/urastogi2048"&gt;@urastogi2048&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MEMBER 4: &lt;a class="mentioned-user" href="https://dev.to/shreyas_prajapati_7911096"&gt;@shreyas_prajapati_7911096&lt;/a&gt; &lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>python</category>
    </item>
  </channel>
</rss>
