<?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: Amna Hafeez</title>
    <description>The latest articles on DEV Community by Amna Hafeez (@amna_hafeez).</description>
    <link>https://dev.to/amna_hafeez</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%2F4004455%2F727b5ef2-1ec8-43ae-8fc2-069192758630.png</url>
      <title>DEV Community: Amna Hafeez</title>
      <link>https://dev.to/amna_hafeez</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amna_hafeez"/>
    <language>en</language>
    <item>
      <title>Rohtas Fort: The Fortress That Was Never Stormed</title>
      <dc:creator>Amna Hafeez</dc:creator>
      <pubDate>Fri, 10 Jul 2026 11:20:17 +0000</pubDate>
      <link>https://dev.to/amna_hafeez/rohtas-fort-the-fortress-that-was-never-stormed-k05</link>
      <guid>https://dev.to/amna_hafeez/rohtas-fort-the-fortress-that-was-never-stormed-k05</guid>
      <description>&lt;p&gt;Rohtas Fort: The Fortress That Was Never Stormed&lt;br&gt;
Perched on a hilltop above the Kahan River in Jhelum district, Rohtas Fort has stood since 1541 without ever falling to a direct assault. It was inscribed as a UNESCO World Heritage Site in 1997, recognized as an outstanding example of early Muslim military architecture in Central and South Asia. Researching it for this module reminded me that a heritage site's story doesn't end at its founding — it's still being written today, through conservation battles and community disputes that rarely make it into the tourist brochures.&lt;br&gt;
Built to Keep an Emperor Out&lt;br&gt;
Rohtas Fort exists because of one man's fear of losing what he'd just won. After defeating the Mughal emperor Humayun at the Battle of Kannauj in 1540, the Afghan ruler Sher Shah Suri needed a way to block Humayun's return route into the subcontinent and to subdue the Gakhar tribe, who remained loyal to the Mughals. Construction began in 1541 under Sher Shah's revenue minister, Todar Mal, on a hilltop chosen specifically because it commanded the old route between Kabul and the Punjab plains.&lt;br&gt;
The build wasn't smooth. The Gakhars, on whose land the fort was rising, initially refused to supply labor. According to several historical accounts, Todar Mal only secured workers after Sher Shah authorized dramatically higher wages — a costly decision that shows how much strategic weight the emperor placed on this single fortification. Sher Shah died in 1545, before the fort was finished, and by 1555 Humayun had reclaimed the region anyway, making Rohtas's original military purpose almost moot within a generation of its construction.&lt;br&gt;
An Architectural Hybrid&lt;br&gt;
What makes Rohtas historically significant isn't just its scale — over 4 kilometers of walls, 68 bastions, and 12 gates — but what it represents architecturally. UNESCO's listing describes it as blending Turkish and South Asian building traditions into a new fortification style developed in response to the spread of gunpowder and cannon, one that went on to shape Mughal military architecture for generations afterward.&lt;br&gt;
Inside the walls, the fort tells a layered story rather than a single one. The Shahi Masjid near Kabuli Gate reflects Sher Shah's original Suri-era construction, while the Haveli Man Singh — built later under Mughal general Raja Man Singh — is Hindu in architectural style and bears no resemblance to the surrounding Afghan-style fortification. Stepped wells called baolis gave the garrison self-sufficient water access, meaning the fort never depended on outside supply lines even under siege conditions.&lt;br&gt;
A Living Site, Not a Frozen One&lt;br&gt;
Here's the part that doesn't usually make it into travel writeups: Rohtas Fort has an actual village inside its walls, and that's been a source of tension for decades. Communities have lived within the ramparts continuously since the Suri era, and by some estimates the resident population reached around 4,000 people in recent years. That's created a genuine conflict between heritage preservation and people's homes.&lt;br&gt;
UNESCO's own assessment is direct about the risk: encroachment inside the fort has disrupted its original drainage system, and parts of the fortification wall have already collapsed as a result. This isn't a hypothetical threat — it's an ongoing management problem. The Punjab government and the Directorate General of Archaeology have run repeated anti-encroachment operations over the years, including a demolition drive in August 2024 targeting unauthorized structures, but the underlying tension between conservation and a resident community hasn't disappeared.&lt;br&gt;
Conservation work has also had real wins. The Rohtas Fort Conservation Programme, launched in 2000 by Pakistan's Department of Archaeology and Museums together with the Himalayan Wildlife Foundation, has restored several gates — including Shah Chandwali and Talaqi — and established the Sher Shah Suri Museum inside Sohail Gate. A steering committee formed in 2003 continues to oversee this work, and more recent excavation projects have aimed to uncover and protect structures still buried at the site.&lt;br&gt;
Why It Still Matters&lt;br&gt;
Rohtas Fort is a reminder that heritage sites are rarely static monuments — they're contested, lived-in, and still being fought for. Its 16th-century engineering genuinely earned its UNESCO status, but keeping that status meaningful depends on solving very present-day problems: drainage, encroachment, and the balance between preserving a monument and respecting the people who call it home.&lt;/p&gt;

&lt;p&gt;Sources&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;UNESCO World Heritage Centre. "Rohtas Fort." whc.unesco.org/en/list/586. &lt;/li&gt;
&lt;li&gt;"Rohtas Fort." Wikipedia. &lt;/li&gt;
&lt;li&gt;"Rohtas Fort — Grokipedia." grokipedia.com/page/Rohtas_Fort. &lt;/li&gt;
&lt;li&gt;"The Preservation of Rohtas Fort." The News on Sunday (thenews.com.pk), 22 January 2023.&lt;/li&gt;
&lt;li&gt;"The Perfect Castle? The Indestructible and Unconquered Rohtas Fort." Ancient Origins, 20 January 2022.&lt;/li&gt;
&lt;li&gt;Meemjee. "Rohtas Fort Gate.jpg." Wikimedia Commons, CC BY-SA 3.0, &lt;a href="https://commons.wikimedia.org/wiki/File:Rohtas_Fort_Gate.jpg" rel="noopener noreferrer"&gt;https://commons.wikimedia.org/wiki/File:Rohtas_Fort_Gate.jpg&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>heritage</category>
      <category>research</category>
      <category>pakistan</category>
      <category>preservemyworld</category>
    </item>
    <item>
      <title>What I Learned About 3D Reconstruction in Week 1 of My AI Internship at PreserveMy.World</title>
      <dc:creator>Amna Hafeez</dc:creator>
      <pubDate>Fri, 26 Jun 2026 19:23:40 +0000</pubDate>
      <link>https://dev.to/amna_hafeez/what-i-learned-about-3d-reconstruction-in-week-1-of-my-ai-internship-at-preservemyworld-32fd</link>
      <guid>https://dev.to/amna_hafeez/what-i-learned-about-3d-reconstruction-in-week-1-of-my-ai-internship-at-preservemyworld-32fd</guid>
      <description>&lt;p&gt;This week marked the beginning of my internship at TechRealm x PreserveMy.World — &lt;br&gt;
a nonprofit using AI to preserve cultural heritage sites in 3D. I'm on the Core Tech &lt;br&gt;
track, focused on Platform &amp;amp; Web Engineering.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is PreserveMy.World?
&lt;/h2&gt;

&lt;p&gt;PreserveMy.World is a nonprofit initiative that uses AI and 3D reconstruction to &lt;br&gt;
document and preserve historical sites — starting with Lahore's heritage landmarks &lt;br&gt;
like Badshahi Masjid.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Set Up This Week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python, Git, GitHub CLI, and VS Code&lt;/li&gt;
&lt;li&gt;Gemini CLI as my AI coding assistant&lt;/li&gt;
&lt;li&gt;My first GitHub repo: PMW-day1&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3D Reconstruction Methods I Researched
&lt;/h2&gt;

&lt;p&gt;I compared five methods for reconstructing heritage sites in 3D:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. COLMAP (Structure-from-Motion)&lt;/strong&gt;&lt;br&gt;
Takes multiple photos and produces a 3D point cloud. Great starting point for PMW.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. NeRF (Neural Radiance Fields)&lt;/strong&gt;&lt;br&gt;
Creates photorealistic 3D scenes from images. Needs a GPU but produces stunning results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Gaussian Splatting&lt;/strong&gt;&lt;br&gt;
Fast, high-quality 3D rendering — ideal for web platforms like PreserveMy.World.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Monocular Depth Estimation&lt;/strong&gt;&lt;br&gt;
Works from a single image or video. Most practical for field use with limited equipment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Multi-View Stereo (MVS)&lt;/strong&gt;&lt;br&gt;
Dense reconstruction from multiple calibrated images. Good for building facades.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Python Experiment
&lt;/h2&gt;

&lt;p&gt;I wrote a Python script simulating monocular depth estimation and generated a depth &lt;br&gt;
map output. Small experiment, but it confirmed the pipeline concept works.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Failed
&lt;/h2&gt;

&lt;p&gt;The first attempt at downloading a heritage image in Python returned a 403 error — &lt;br&gt;
so I switched to a simulated depth map instead. Real-world data acquisition will need &lt;br&gt;
proper API access or local images.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;I'll continue researching 3D reconstruction methods, run more experiments, &lt;/p&gt;

&lt;h2&gt;
  
  
  and contribute to the PreserveMy.World platform as the internship progresses.
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;This post is part of my TechRealm x PreserveMy.World internship journey. &lt;br&gt;
GitHub: &lt;a href="https://github.com/Anfey-SE/PMW-day1" rel="noopener noreferrer"&gt;https://github.com/Anfey-SE/PMW-day1&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>machinelearning</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
