Kashi-Bot

Conservation · Robotics · Artificial Intelligence

Every tile tells a story.
Some are running out of time.

کاشی بوٹ

Kashi-Bot is a robot built by three students from Lahore to survey, record and help restore Kashi Kari, the glazed tilework of Masjid Wazir Khan, Lahore Fort and hundreds of smaller historic buildings.

Team 55 · World Robot Olympiad 2026 · Future Innovators · International Final

01 · The Craft

A living art on ancient walls

Kashi Kari is the art of glazed, hand-painted tiles: cobalt, turquoise, ochre and leaf green, set into brick in floral, geometric and calligraphic designs. It covers the walls of Lahore's great monuments and many of the old city's quieter mosques and havelis.

Moisture, dust, salt and structural movement crack, flake and wear these tiles away. In a mosaic, losing a single piece can break a whole motif.

Few artisans still hold the skill. The craft is passed from master to apprentice, and an artisan's knowledge of their own region's patterns is what lets them restore a tile faithfully. A batch of tiles made with historically accurate pigments can take two to two-and-a-half months.

Calligraphic Kashi Kari panel at Masjid Wazir Khan, Lahore A real blue floral glazed tile
Calligraphic tilework at Masjid Wazir Khan, and a real floral tile from the team's test set.
116tile-mosaic panels on Lahore Fort's Picture Wall
~460 mlength of that one decorated wall
5.4Mvisitors to Lahore Fort in 2024
1,427historic buildings in the Walled City of Lahore
Poster showing eight types of damage to glazed Kashi Kari tiles: surface dirt, glaze loss, chipping, cracking, breakage, holes, staining and old repairs

How tiles are lost

Conservators at Masjid Wazir Khan record eight kinds of damage, from surface dirt and lost glaze to cracks, chips, staining and old patch repairs. Every survey starts by finding and photographing each damaged tile, which is slow, repetitive work.

The laser scanner used to 3D-scan Masjid Wazir Khan cost US$65,000, and each scan took several gigabytes. Even so, it did not capture the detail of the tiles. What Dr Murtaza Taj of LUMS, who supervised the scan, told the team

02 · The Journey

From a cracked wall to a redrawn tile

Two machines share the work. The Scout travels along the wall and photographs every tile. The Restorer studies each photo, proposes a repair and draws it. A person approves every step that matters.

Survey the site

The Scout robot with its parts labelled: pan-tilt camera mount, LED ring, 64 megapixel camera, Raspberry Pi computer, scissor lift, ultrasonic sensors, two micro:bit controllers and tracked wheels
The Scout, fourth version, with its main parts labelled.

03 · The Scout

A surveyor on wheels

The Scout follows the walls of a site by itself. It keeps a steady distance using sound (ultrasonic sensors) and turns each corner with a gyroscope.

  • Sees for itself. It first studies a plain stretch of brick, then recognises a tile by how its texture and shape differ from the wall.
  • Reaches high. A motorised scissor lift raises the camera, and a pan-and-tilt head turns it sideways and up, even towards a ceiling.
  • Only keeps good photos. A 64-megapixel camera checks that each picture is still, fully framed and sharp before keeping it.
  • Lights from four sides. A ring of LEDs lights the tile from north, east, south and west in turn. Comparing the shadows reveals the tile's surface in 3D, so chips and holes stand out.
  • Stops safely. Its computer and wheels check on each other every few seconds, and the wheels stop if the link goes quiet.

Four ways to photograph a wall

Tiles come in columns, grids and ceilings. The Scout picks a movement to match. Each blue square is a tile; the gold frame is the camera.

A column

Photograph, look right for a neighbour, then tilt up to the tile above.

A 2 × 2 grid

Capture the bottom row, then the row above it.

A 2 × 3 grid

Like the 2 × 2, but the scissor lift rises to reach the third row.

A ceiling tile

Lift fully extended, camera tilted up to meet the ceiling.

Four robots to get here

Scout version 1
V1Large and unstable. It bumped the walls, and backing away blurred the photos.
Scout version 2
V2Compact, but with no gyroscope its turns drifted.
Scout version 3 beside the tile wall
V3Modular and reliable, but it needed tape on the floor to find tiles.
Scout version 4
V4Finds tiles with its own camera, reaches high rows and ceilings, and needs no tape.

04 · Finding Damage

Try it: find the damage

Pick a tile, then follow its journey through the Restorer. The highlighted area is the damage; the slider compares the tile with its undamaged design.

The selected damaged tile
⟷
No automatic restoration

This tile carries calligraphy. Kashi Kari inscriptions often hold Quranic verses. A machine could change a letter, and with it the meaning, so Kashi-Bot records and documents calligraphic tiles but leaves their restoration to people.

The Scout's photo arrives at the Restorer, which straightens it and corrects the curve of the wide-angle lens.

98%overlap between the damage it marked and the true damaged area, on test tiles where the true damage was known
99.5%of the area it marked really was damaged (precision)
98.5%of the real damage was found (recall)
4 / 4damage patches found on the calligraphic tile, with no false alarms on the lettering

Measured on the team's own demonstration tiles. The method is tuned for this tile set and is not yet a general detector for every historic tile.

05 · Restoring

Three ways to imagine what was lost

No single method suits every pattern, so Kashi-Bot offers three side by side, and a person chooses.

Symmetry Fill

The team's own method. Many Kashi Kari designs repeat or mirror themselves, so a missing piece is copied from its healthy twin elsewhere on the tile.

Best for: geometric, mirrored tiles. Runs on the robot, no internet needed.

Local AI fill

An image-completion AI (LaMa) continues the surrounding brushwork into the gap, much as an eye fills in a blind spot.

Best for: small gaps in busy patterns. Runs on the robot, no internet needed.

Cloud image AI

A large image model looks at the whole design and repaints the damaged part to fit it.

Best for: complex patterns that need the bigger picture. Closest to the original on three of four test tiles.

Two rows of tiles comparing the damaged tile with the three restoration results and the original
Each method was scored against the tile's true, undamaged original. Symmetry Fill wins on the mirrored tile (top row); the cloud model wins on the star tile (bottom row).

A person always decides

Nothing is drawn until someone approves it on the dashboard. Calligraphic tiles are never restored automatically. AI proposals are kept clearly separate from confirmed historical evidence, and the robot only drafts. The artisan's judgement, glazing and firing give a tile its character.

06 · Drawing

From pixels back to the physical tile

The approved design is turned into drawing instructions for a pen plotter, a robot arm that moves a pen precisely in two directions across a blank tile.

The dashboard showing a tile, its damage mask, classification and colours
1 · ReviewThe dashboard, shown on an iPad, lists each tile's damage, pattern type and colours, with the closest matching pigment.
The traced stencil outline of a floral tile in red lines
2 · TraceThe design is cleaned up and traced into crisp outlines: a stencil for the artisan.
The plotter filling in a blue tile pattern with a marker
3 · DrawThe plotter draws the outline onto a blank tile or a paper transfer, then fills in each colour in turn.
A tile split into separate colour layers, one per marker
Colour mode: one drawing layer per colour. The marker is swapped between passes, and each area is filled with a continuous zig-zag.
±0.15 mmaccuracy of the traced outline on a 4-inch tile
11marker colours in the palette today; real pigments next
3outputs: a stencil, a paper transfer and a full-colour preview

07 · Why It Matters

Bringing conservation within reach

Major monuments attract major budgets. In 2017 the Government of Punjab approved Rs 533 million (about US$5 million) for five years of conservation at Masjid Wazir Khan. Lahore's small mosques and private havelis rarely see that kind of money.

3D laser scanner used at Masjid Wazir Khan
US$65,000
Complete Kashi-Bot prototype: Scout, Restorer and plotter
US$1,280
Cloud AI restoration, across all the team's testing
< US$2.50

A record that outlives the damage

A tile can keep decaying while it waits for funds. Its scanned pattern cannot. Documentation is a conservation benefit in its own right, and repeat surveys show how damage spreads over time.

More time for artisans

The robot does the repetitive work of surveying, photographing and drafting, so skilled hands can focus on painting, glazing and firing.

Reaching smaller sites

A haveli with a damaged façade and no restoration budget could be scanned and digitally reconstructed now, ready for a conservator when funding arrives.

Inspiring the next generation

Visitors can watch a damaged pattern being measured, reconstructed and redrawn, and see how robotics can serve their own history.

A team member beside a 12-foot Kashi Kari tile wall at LUMS

Tested at full scale

A real 12-foot tile wall

Beyond its own scale model of a heritage site, the team took the Scout to a 12-foot wall of real Kashi Kari tiles at LUMS. It scanned the wall, found damage on the real tiles and printed stencils.

Conservation experts the team consulted, including Dr Murtaza Taj (LUMS), consultant Saba Samee and lead conservator Rahat Ullah of the Aga Khan Cultural Service, say a tool like Kashi-Bot could fit into their workflows.

08 · The Film

Kashi-Bot in 90 seconds

The team's competition film for the WRO 2026 International Final. Watch on YouTube →

09 · The Exhibition

A proposed exhibition: Saving the Walls

An exhibition on why conservation of our historic sites matters, and how technology and robotics can help the people who carry it out. It would be built around a working robot that visitors can watch at work.

  1. I

    The Craft

    Real Kashi Kari tiles and photographs from Masjid Wazir Khan and Lahore Fort, with the colours, patterns and meanings of the art form.

  2. II

    The Threat

    What damages a tile: moisture, salt, time and well-meant old repairs. Damaged tiles shown beside the eight kinds of loss conservators record.

  3. III

    The Scout at Work

    A scale-model heritage wall with brick floor, minarets and an arch. The Scout surveys it live, its camera view on a screen beside it.

  4. IV

    Find the Damage

    A touch-screen station where visitors find the damage on a tile, compare restoration methods and choose one, then see why calligraphy is left to people.

  5. V

    Back to the Tile

    The plotter drawing a stencil and a full-colour tile, displayed with the artisan tools that finish the job: brush, glaze and kiln.

  6. VI

    The Living Archive

    A growing digital record of scanned tiles, and an invitation to see conservation as everyone's heritage.

The Scout raising its camera beside a floral tile on the brick wall model The plotter on a table with tiles and markers A Tree of Life tile panel in the shape of an arch
Haniya, Anaya and Zoya at Lahore Fort
Haniya, Anaya and Zoya at Lahore Fort.

The Team

Team 55 · Lahore, Pakistan

Anaya Murad Akhter
Lead engineer: vision, AI restoration and navigation; system integration.
Zoya Asif
Simulation and documentation lead: computer models of the site and the Scout's scanning; navigation logic.
Haniya Murad Akhter
Mechanical and hardware engineer: Scout chassis, scissor lift, camera mechanism and plotter.

With thanks to the conservators, artisans and academics at Lahore Fort, the Aga Khan Cultural Service – Pakistan and LUMS who shared their time and knowledge.