Loading
Loading
A research‐driven project exploring how modern deep-learning can automate and enhance the art of Arabic calligraphy. Medad takes standard Arabic text (rendered in a common font like Arial) and transforms it into rich, high-fidelity calligraphic images (Thuluth style) using a custom Vision-Transformer-based image-to-image translation model.
Arabic calligraphy is a centuries-old cultural treasure, traditionally crafted by expert calligraphers (Khattāt). Medad investigates whether generative AI can both preserve those traditional rules and open new creative possibilities—automating the style transfer from plain text to beautiful calligraphic renderings.
High-quality Style Transfer Converts standard Arabic text into authentic Thuluth calligraphy with structural and artistic fidelity.
Multi-word Support Handles full phrases (4+ words) while preserving proper ligatures, stroke connections, and inter-letter spacing.
Web Interface User-friendly front end built in Django, backed by a FastAPI microservice for inference and image super-resolution.
Extensible Architecture Easily swap in new calligraphy styles or back-end models (e.g., GANs, diffusion) via modular design.
| Metric | Value |
|---|---|
| SSIM | 0.957 |
| PSNR (dB) | 26.29 dB |
The model consistently produces high-fidelity Thuluth calligraphy, preserving both stroke detail and inter-letter harmony across phrases.
This project was conducted under the auspices of Qassim University as a Final Year Project and is released under the MIT License.