<?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: Yacine </title>
    <description>The latest articles on DEV Community by Yacine  (@yacine204).</description>
    <link>https://dev.to/yacine204</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%2F3930286%2Fbfb66968-5e44-4355-8804-aa408941a5ee.jpeg</url>
      <title>DEV Community: Yacine </title>
      <link>https://dev.to/yacine204</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yacine204"/>
    <language>en</language>
    <item>
      <title>I Built a GeoGuessr Assistant that reaches 74.8% accuracy</title>
      <dc:creator>Yacine </dc:creator>
      <pubDate>Thu, 14 May 2026 02:07:17 +0000</pubDate>
      <link>https://dev.to/yacine204/i-built-a-geoguessr-assistant-that-reaches-748-accuracy-2jml</link>
      <guid>https://dev.to/yacine204/i-built-a-geoguessr-assistant-that-reaches-748-accuracy-2jml</guid>
      <description>&lt;h1&gt;
  
  
  Hallo,
&lt;/h1&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.amazonaws.com%2Fuploads%2Farticles%2F5dm7a846tn8s08uqk58t.gif" 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%2F5dm7a846tn8s08uqk58t.gif" alt="Showcase" width="560" height="315"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Github Repo: &lt;a href="https://github.com/yacine204/geoGuessr_Assistant" rel="noopener noreferrer"&gt;https://github.com/yacine204/geoGuessr_Assistant&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So i recently finished my final year project in computer science (3rd year) and the theme was GeoGuessr Assistant which basically gives candidates coordinates hinting where u are in the game. &lt;/p&gt;

&lt;h2&gt;
  
  
  The Idea
&lt;/h2&gt;

&lt;p&gt;instead of going full AI i went hybrid and focused on the strongest Human-Like clues (road signs and any type of text). &lt;/p&gt;

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

&lt;p&gt;the pipeline consits of 5 stages&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;1/Road Sign Convention Detection&lt;/strong&gt;:&lt;br&gt;
Fine tuned a YOLOv8m model to detect these classes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MUTCD&lt;/li&gt;
&lt;li&gt;VIENNA&lt;/li&gt;
&lt;li&gt;AMBIGUOUS&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;2/Text Extraction&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Used EasyOCR for this step but im still thinking of finetuning it to be able to detect any asian language without having to manually configure the default language.&lt;br&gt;&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;_easyocr_reader&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;easyocr&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Reader&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;en&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;gpu&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;#if i get slavic text per example i have to do this
&lt;/span&gt;&lt;span class="n"&gt;_easyocr_reader&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;easyocr&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Reader&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;ru&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;gpu&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;3/Country filtering&lt;/strong&gt;
Here will be using results of stage 1 and 2. and this stage has 3 stages

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Country Probability Init&lt;/strong&gt;: &lt;/li&gt;
&lt;li&gt;Init country Probability by its distribution found in this repo: &lt;a href="https://github.com/Crrrrrrr/geoguessr-statistics" rel="noopener noreferrer"&gt;https://github.com/Crrrrrrr/geoguessr-statistics&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Country elimination&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;we have to do some math before elimination and that math will just tell us how sure are we for taking that decision
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bias = (total_vienna_confidence - total_mutcd_confidence) / (total_vienna_confidence + total_mutcd_confidence)

if bias&amp;gt;0 then we lean to vienna
elif bias&amp;lt;0 then we lean to mutcd
else mixed/ambiguous we do nothing

and to be safe we set a thresh hold thats dependant on bias_confident:
    if bias_confidence&amp;gt;0.7 -&amp;gt; threshold = 0.2
    elif bias_confidence&amp;gt;0.4 -&amp;gt; threshold = 0.3
    else -&amp;gt; threshold = 0.5

finally:
    if bias&amp;gt;threshold -&amp;gt; vienna
    elif bias&amp;lt;-threshold -&amp;gt; mutcd
    else -&amp;gt; hybrid

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;4/Nominatim&lt;/strong&gt;
this is just to prepare nodes for the last stage but basically we pass the extracted text and we get the type of entities and their POI's&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5/OverPass API&lt;/strong&gt;
this is the final step that gets us the coords, we cluster them by 500 km to reduce error, we can change that if we dont trust the ocr that much.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Would love to continue to work on the project by adding more fine tuned weights that detects vegetation, buildings architecture, cars...etc&lt;/p&gt;

&lt;p&gt;ps: Github repo README is well documanted than this xD&lt;/p&gt;

&lt;p&gt;If you read all this thank u for your time and attention, would love ur feedback!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>computervision</category>
      <category>react</category>
    </item>
  </channel>
</rss>
