Arabic Text Segmentation

Similar documents
Improved Method for Sliding Window Printed Arabic OCR

Proposed Solution for Writing Domain Names in Different Arabic Script Based Languages

Character Set Supported by Mehr Nastaliq Web beta version

1 See footnote 2, below.

Proposed keyboard layout for Swahili in Arabic script

Nafees Nastaleeq v1.01 beta

Modeling Nasta leeq Writing Style

Writing Domain Names in Different Arabic Script Based Languages

Umbrella. Branding & Guideline

Recognition of secondary characters in handwritten Arabic using Fuzzy Logic

OUR LOGO. SYMBOL LOGO SYMBOL LOGO ORIGINAL STRUCTURE

REEM READYMIX Brand Guideline

qatar national day 2017 brand guidelines 2017

VOL. 3, NO. 7, Juyl 2012 ISSN Journal of Emerging Trends in Computing and Information Sciences CIS Journal. All rights reserved.

Identity Guidelines. December 2012

Segmentation and Recognition of Arabic Printed Script

Online Arabic Handwritten Character Recognition Based on a Rule Based Approach

THE LOGO Guidelines LOGO. Waste Free Environment Brand Guidelines

ISO/IEC JTC 1/SC 2. Yoshiki MIKAMI, SC 2 Chair Toshiko KIMURA, SC 2 Secretariat JTC 1 Plenary 2012/11/05-10, Jeju

2011 International Conference on Document Analysis and Recognition

SCALE-SPACE APPROACH FOR CHARACTER SEGMENTATION IN SCANNED IMAGES OF ARABIC DOCUMENTS

Proposal for changes to ArabicShaping.txt to allow machine generation of Arabic fonts and glyphs. A. Generating Arabic glyphs from the Schematic Name

1. Brand Identity Guidelines.

ISeCure. The ISC Int'l Journal of Information Security. High Capacity Steganography Tool for Arabic Text Using Kashida.

Nafees Nastaleeq v1.02 beta

Strings 20/11/2018. a.k.a. character arrays. Strings. Strings

USING COMBINATION METHODS FOR AUTOMATIC RECOGNITION OF WORDS IN ARABIC

Others Symbols, Additional characters proposed to Unicode. Azzeddine Lazrek

DESIGNING OFFLINE ARABIC HANDWRITTEN ISOLATED CHARACTER RECOGNITION SYSTEM USING ARTIFICIAL NEURAL NETWORK APPROACH. Ahmed Subhi Abdalkafor 1*

BRAND GUIDELINES JANUARY 2017

L2/11-033R 1 Introduction

3 Qurʾānic typography Qurʾānic typography involves getting the following tasks done.

Feature Extraction Techniques of Online Handwriting Arabic Text Recognition

A MELIORATED KASHIDA-BASED APPROACH FOR ARABIC TEXT STEGANOGRAPHY

Research Article Offline Handwritten Arabic Character Recognition Using Features Extracted from Curvelet and Spatial Domains

NF-SAVO: Neuro-Fuzzy system for Arabic Video OCR

THE LOGO Guidelines LOGO. Waste Free Environment Brand Guidelines

Arabic Diacritics Based Steganography Mohammed A. Aabed, Sameh M. Awaideh, Abdul-Rahman M. Elshafei and Adnan A. Gutub

Printed and Handwritten Arabic Characters Recognition and Convert It to Editable Text Using K-NN and Fuzzy Logic Classifiers

Persian/Arabic Baffletext CAPTCHA 1

GEOMETRIC-TOPOLOGICAL BASED ARABIC CHARACTER RECOGNITION, A NEW APPROACH

American University of Beirut Logo and Visual Identity Manual. April 2011 version 1.0

Award Winning Typefaces by Linotype

The University of Bradford Institutional Repository

SHARP-EDGES METHOD IN ARABIC TEXT STEGANOGRAPHY

Center for Language Engineering Al-Khawarizmi Institute of Computer Science University of Engineering and Technology, Lahore

SHEFA STORE CORPORATE DESIGN MANUAL BRAND & FUNCTION // CORPORATE DESIGN GUIDELINES. 01 : Corporate Identity. 02 : Corporate Stationery

Internationalization of a Distance Exam Web Environment

A Proposed Hybrid Technique for Recognizing Arabic Characters

Aesthetical Attributes for Segmenting Arabic Word

ISO/IEC JTC 1/SC 2/WG 2 PROPOSAL SUMMARY FORM TO ACCOMPANY SUBMISSIONS 1. T Uhttp://

About SaudiNIC. What we have done. What is Next. Lessons learned

ERD ENTITY RELATIONSHIP DIAGRAM

Developing a Real Time Method for the Arabic Heterogonous DBMS Transformation

Multifont Arabic Characters Recognition Using HoughTransform and HMM/ANN Classification

BÉZIER CURVES TO RECOGNIZE MULTI-FONT ARABIC ISOLATED CHARACTERS

Handwritten Character Recognition Based on the Specificity and the Singularity of the Arabic Language

A Proposed UNICODE-Based Extended Romanization System for Persian Texts. M. A. Mahdavi, Ph.D. Imam Khomeini International University, Iran

JTC1/SC2/WG2 N Introduction

Main Brandmark. Alternative option 1: White torch and white logotype on orange background

Proposal to encode productive Arabic-script modifier marks

Different Input Systems for Different Devices

Peripheral Contour Feature Based On-line Handwritten Uyghur Character Recognition

ARABIC TEXT STEGANOGRAPHY USING MULTIPLE DIACRITICS

Domain Names in Pakistani Languages. IDNs for Pakistani Languages

Optical Character Recognition System for Arabic Text Using Cursive Multi-Directional Approach

Arabic and Multilingual Scripts Sorting and Analysis

with Profile's Amplitude Filter

New Features in mpdf v5.6

A Proposed OCR Algorithm for the Recognition of Handwritten Arabic Characters

Introduction to Search and Recommendation

Complementary Approaches Built as Web Service for Arabic Handwriting OCR Systems via Amazon Elastic MapReduce (EMR) Model

Font Features for Lateef

A Framework Model for Arabic Handwritten Text Recognition to Handle Missing Text Fragments

Brand Identity Manual Fonts and Typography

MEMORANDUM OF UNDERSTANDING. between [PLEASE INSERT NAME OF THE OVERSEAS GOVERNMENT AGENCY AND NAME OF THE COUNTRY] and

NASTAALIGH HANDWRITTEN WORD RECOGNITION USING A CONTINUOUS-DENSITY VARIABLE-DURATION HMM

PERFORMANCE OF THE GOOGLE DESKTOP, ARABIC GOOGLE DESKTOP AND PEER TO PEER APPLICATION IN ARABIC LANGUAGE

Language Manual. Arabic HQ and HD

Managing Resource Sharing Conflicts in an Open Embedded Software Environment

Urdu Usage Guide ر ہاردو

CH. 2 Network Models

PRINTED ARABIC CHARACTERS CLASSIFICATION USING A STATISTICAL APPROACH

Image Coloring using Genetic Algorithm

A Comparative Study of PDF Generation Methods:

androidcode.ir/post/install-eclipse-windows-android-lynda

The right hehs for Arabic script orthographies of Sorani Kurdish and Uighur

Versatile Search of Scanned Arabic Handwriting

Nastaliq Font. Shahab Mohsen. A thesis. presented to the University of Waterloo. in fulfillment of the. thesis requirement for the degree of

Multilingual Internet Arabic IDN

ON OPTICAL CHARACTER RECOGNITION OF ARABIC TEXT

Using Arabic Wordnet for semantic indexation in information retrieval system

ARABIC TEXT WATERMARKING : A REVIEW

Introduction to Search/Retrieval Technologies. Yi Zhang Information System and Technology Management IRKM Lab University of California Santa Cruz

Improve On-Demand Multicast Routing Protocol in Mobile Ad-Hoc Networks المتعذد حسب الطلب

ار ا ار ا ا م ا وا وال. ٢٩ ٢٥ ذار ٢٠١٢

Off-line Arabic Handwritten OCR Based on Web Services

A Segmentation Free Approach to Arabic and Urdu OCR

A) 9 B) 12 C) 24 D) 32 A) 9 B) 7 C) 8 D) 12 A) 400 B) 420 C) 460 D) 480 A) 16 B) 12 C) 8 D) 4. A) n+1 B) n - 1 C) n D) None of the above

A PREPROCESSING MODEL FOR HAND-WRITTEN ARABIC TEXTS BASED ON VORONOI DIAGRAMS

Transcription:

Arabic Text Segmentation By Dr. Salah M. Rahal King Saud University-KSA 1

OCR for Arabic Language Outline Introduction. Arabic Language Arabic Language Features. Challenges for Arabic OCR. OCR System Stages. Text Segmentation. Databases, Conclusion. 2

OCR for Arabic Language Introduction O C R (Optical Character Recognition) OCR is the recognition of text by a computer, i.e. It is the process of using computer system to translate images of text (printed or handwritten) into machine-editable text. Translation of the character image into digital characters. 3

OCR for Arabic Language OCR Goal: Simulation of the human ability to read both machine-printed and handwritten texts. 4

OCR for Arabic Language OCR involves: Text Scanning Image Analysis Image Character Translation into Character Codes, such as ASCII -(Computer-editable Text) 5

OCR for Arabic Language OCR is an important front end for different systems such as Electronic Document Management (EDM) systems. Excellent OCR now exists for Latin based languages, but there are few systems that read Arabic. 6

Arabic Language 7

Arabic Language Arabic language is a rich language. It contains a large number of words*. More than 420 million speakers. Official language of Arabic Countries. One of the six official languages of the United Nations (along with Chinese, English, French, Russian and Spanish). More than 1.5 milliard Muslims need Arabic language. Other languages use Arabic alphabet, for example Pashto, Persian, Sindhi, and Urdu. * No standard reference list containing all Arabic words. 8

Arabic Language Features Arabic Language Features: Arabic language has 28 basic characters: ا ب ت ث ج ح خ د ذ ر Reh Thal Dal Khah Hah Jeem Theh Teh Beh Alef ز س ش ص ض ط ظ ع غ ف Feh Ghain Ain Thah Tah Dad Sad Sheen Seen Zain ق ك ل م ن ه و ي Yeh Waw Heh Noon Meem Lam Kaf Qaf 9

Arabic Language Features 15 of Arabic alphabet have dot(s): ش ز ذ خ ج ث ت ب ي ن ق ف غ ظ ض Characters with dot(s). 10

Arabic Language Features - Dot(s) can exist in the form of one, two, or three dots. - Dot(s) can be written either above or below the character. One dot Two dots Three dots ن ف غ ظ ض ز ذ خ ج ب ي ق ت ش ث 11

Arabic Language Features In addition to the basic 28 characters, there are supplementary characters: Hamza ) ء) in the middle & in the end: تهنئة - in the middle سماء يرجئ - in the end Hamza combined with other letters: سي ؤل ؤ إحسان إ أحمد أ 12

Arabic Language Features ال) Madda ) ~ (: آ آفاق ى) ( maksoura Alef ى على ة) ( marbuta Teh الكورية ة الجزيرة ة Lam Alef )ل ا ) letters : It consists of two ) 13

Arabic Language Features Other Arabic Features: Arabic text (both handwritten & printed) is written from right to left. Arabic script is cursive (printed & handwritten). Arabic characters are connected from the baseline of the word. 14

Arabic Language Features Arabic contains only one case characters (no upper and lower case). The digits used in the Arabic are called Arabic-Indic digits (originally invented in India & adapted by the Arabic language). 15

Arabic Language Features 19 joining groups Same body. Difference is number of dots (or hamza)..(ب ت ث : (example No Schematic Name Joining Group Group Characters ا أ إ آ ا 1 Alef ب ت ث ب 2 Beh ج ح خ ح 3 Hah د ذ د 4 Dal ر ز ر 5 Reh س ش س 6 Seen ص ض ص 7 Sad 16

Arabic Language Features ط ظ ط 8 Tah ع غ ع 9 Ain ف ف 10 Feh ق ق 11 Qaf ك ك 12 Kaf ل ل 13 Lam م م 14 Meem ن ن 15 Noon ه ه 16 Heh و ؤ و 17 Waw ي ى ئ ي 18 Yeh ة ة ة 19 Teh Marbuta 17

Arabic Language In addition to 28 letters, Arabic text includes: punctuation marks, spaces and, special symbols. Mathematical symbols. 18

Arabic Language Punctuation Marks, Such as:! ". EXCLAMATION MARK question mark QUOTATIO N MARK COMMA DECIMAL POINT / FULL STOP PERCENT SIGN # $ ( ) / NUMBER SIGN DOLLAR SIGN OPENING PARENTHE SIS CLOSING PARENT HESIS ASTERISK SLASH Texts in Chinese, Japanese, and Korean were generally left unpunctuated until the modern era, when they adopted Western punctuation marks: http://en.wikipedia.org/wiki/punctuation#conventional_styles_of_english_punctuation 19

Arabic Language Some punctuation marks in Arabic look different from the English counterparts: Comma Question mark Arabic English,? 20

Challenges of Arabic OCR Challenges for Arabic OCR Arabic characters are cursive and not separated as is the case with Latin script. Shapes: Characters change shape depending on their position in the word much of the distinction between isolated characters is lost when they appear in the middle of a word. 21

Challenges of Arabic OCR A character can have up to four shapes according to its location in the word: start, middle, end, and isolated. Examples: No of Shapes Character Shapes 1 و ر د 2 ي ي م م ض ض س س ا ا ق ق ق ه ه ه 3 ع ع ع ع غ غ غ غ 4 على العربية مع قطاع : ع) ( Example 22

Challenges of Arabic OCR Dots: Different characters with same body. Distinction only by the number and location of dots. ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ن ي 23

Challenges of Arabic OCR Characters of the same font have different sizes: ا س Arabic writing contains many fonts and writing styles: كوريا الجنوبية كوريا الجنوبية 24

Challenges of Arabic OCR 6 Arabic characters are not connectable with the succeeding character. ا د ذ ر ز و They are joined from the right side only. ا د ذ ر ز و In the joining type defined by the Unicode Standard all the Arabic letters are Dual Joining, except these letters which are joined from the right side only. 25

Challenges of Arabic OCR if one of these characters exists in a word, it divides that word into sub-words كوريا الجنوبية ذات اقتصاد مزدهر كو ر يا الجنو بية ذ ا ت ا قتصا د مز د هر Sometimes Arabic writers neglect to include whitespaces between words when the word ends with one of these letters. 26

Challenges of Arabic OCR Repeated characters are sometimes used: تتفتح بباب مملوء There are two ending letters which some- ). ة ه ( meaning times indicate the same ) ا ( Alef There is often misuse of the letter (. ا أ إ ) shapes in its different 27

Challenges of Arabic OCR The letter ( و ) can be either a subword or individual word. The meaning of the word is "and". It is often misused. It should have whitespace after it, but mostly it is neglected. 28

Challenges of Arabic OCR Arabic language contains a similarity between the following letters and digits: Digit Letter One ا Alef Five ه Heh Same between full stop (.) and Arabic number Zero( ). 29

Challenges of Arabic OCR Diacritical marks: Diacritical marks: (a) fat-ha, (b) dumma, (c) kesra, (d) sukkun, (e) nunation, and (f) shadda. 30

Challenges of Arabic OCR Diacritical marks (called Harakat) are used above and below the letters to help in pronouncing the words and in indicating their meaning. ع لم علم ع ل م It is known He taught Flag Science 31

Challenges of Arabic OCR Notes on Arabic text (both handwritten & printed): Small No of characters having the same shape in any position. The position of the character may differ relating to the line: on the line ( س (, under the line.)ا ) line, up the ر) ) Width & length of characters differ from one character to another. 32

Challenges of Arabic OCR Certain compounds of characters form ligatures. المجتمع مالئمة يمتنعون الجامحة The connecting letter known as Tatweel, or Kashida is used to adjust the left alignments; this letter has no meaning in the language. 33

Challenges of Arabic OCR Arabic handwritten text segmentation is still considered to be a major challenge in document image analysis due to the different styles of handwriting and the connectivity of the Arabic letters. 34

O C R System Stages 35

Arabic Text Recognition System Text Acquisition Text Document Pre-processing Segmentation Out put Recognition Step isolated character (As images) 36

Arabic Text Recognition System Recognition Step Features Extraction Character Pre-processing Thinning, normalization,.. Classification Out put Result (Recognized Characters as Digital Format) 37

Segmentation Text Segmentation Arabic character segmentations face many technical difficulties. The most challenging problem is the cursive characteristic of Arabic text (printed or handwritten). Letters within a word are joined to one another by a baseline and words are separated by spaces. Most of the characters are formed by curves and loops. Loops are usually drawn in clockwise direction. While the segmentation is relatively simple in printed Roman texts, it is still an open question in Arabic. 38

Segmentation Sub-components of Segmentation The first critical step in the development of text recognition system is the segmentation of the text. This divides the text into its sub-components Lines words Sub-words Characters It is an important stage: The reached result in each step directly affects the recognition rate. 39

Segmentation Text Segmentation Steps: 1- Lines Segmentation. Aim: Segmentation of an image document into horizontal lines using horizontal projection. Input: image document. Output: line images. Arabic handwritten document. Segmentation of the image document into its horizontal lines. 40

Segmentation Horizontal projection of lines. 41

Segmentation 2- Word Segmentation Aim: Segmentation of a line into words/subwords using vertical projection. Input: Line image. Output: Word images. Line image. Segmentation of a line into its words. 42

Segmentation Vertical projection of a line. 43

Segmentation 3- Sub-words Segmentation Aim: Segmentation of a word into its sub-words. Input: Word image. Output: Sub-words images. Word image. Segmentation into its sub-words. 44

Segmentation Words/sub-words Segmentation Vertical projection of a line. 45

Segmentation 4- Character Segmentation Aim: Segmentation of a connected part into its isolated characters. Input: Connected part images. Output: Character images. connected parts. Segmentation of a connected part into its characters. 46

Baseline The baseline is the line at the height at which letters are connected and it is analogous to the line on which an English word sits. Letters are wholly above the baseline except for descenders and some markings. 47

Baseline Horizontal projection of a word used to detect the baseline. 48

Databases 49

Database of Arabic Words Some databases for printed words were cited: - Database of 6 million Arabic words selected from different sources. - The Linguistic Data Consortium (LDC) at the University of Pennsylvania produced Arabic Gigaword that contains more than 1 Giga Arabic words (5-th Edition, 2011). 50

Database of Arabic Words Handwritten databases: A database of 100 different writers which contains Arabic text and words. It contains the most common Arabic words that are used in writing checks and some handwritten pages. A database of 26,400 names (town/ village) completed by 411 writers. 51

Database of Arabic words It was created by the Institute for Communications Technology (IFN), Technical University Braunschweig, Germany and Ecole Nationale d Ingénieur de Tunis (ENIT). This database has been used recently in a number of other research projects. 52

Database of Arabic words Conclusion The Arabic Language characteristics (cursiveness, different sizes for the same letter, dot(s),..) and the meaning change imposed especially by diacritical marks make the high segmentation rate and the high recognition rate a challenging questions in the development of high reliable Arabic OCR. A good database should be performed to achieve the mentioned above purpose. 53

Database of Arabic words 54