本論文使用外形特徵(Shapelet Feature)搭配Adaboost與 SVM兩種機器學習演算法來建構影像語言分類器。不同於過去,從上而下的概念將整張文件影像、或是某個文章、段落進行語言種類判別,本論文使用機器學習的方式自動計算足以分辨語言種類的特徵,可以細膩快速的判定文件中每個連通物件的語言種類(中文或是英文)。 輸入文字影像首先被邏輯上分成若干個區域,並計算各區域影像內四個方向的灰階梯度資訊以建構低階特徵,再將低階特徵傳入區域分類器計算其外形特徵,最後將各區域的區域外形特徵集合起來(全域外形特徵)即形成最終語言分類器的輸入特徵。 因為考量繁體中文字結構上的特性,對於文件中判定為中文部首、中文部分字的連通物件,我們再嘗試將其與左右連通物件合併以形成完整中文字。實驗除了分別比較兩階段Adaboost與Adaboost + SVM訓練方式效果的優劣外,亦將語言分類器發揮在以可攜式攝影器材取像的應用上。結果證明,本論文提出的方法可以實際應用在現今多語言文件的分析,除了能有效幫助後端文字辨識正確率的提升與文件內容的擷取,也能在不具備其它語系相關知識下,將此方法推廣至其它語系的語言分類上。 In this paper, a novel language identifier using shapelet feature with Adaboost and SVM has been developed. Different from previous works, our proposed mechanism not only can identify the language type in either Chinese or English of each connected component in the document image, but also obtain better robustness and gain highly efficiency and performance. First of all, the input connected component image has been divided into several sub-windows logically. After then, the gradient responses of each sub-image in different directions are extracted and the local average of these responses around each pixel is manipulated. In the following, the Adaboost is performed to select a subset of its low-level features to construct a mid-level shapelet feature. Finally, the shapelet features are merged together in all sub-windows. Through the above process, all of the information from different parts of the image is combined together and treated as the feature of the final language identifier. The broken or partial Chinese character connected components are tried to be combined with their neighboring connected components. The experimental results demonstrate that our proposed method not only can achieve the goal of improving the correctness rate for OCR process, but also obtain great merits for advanced document analysis.