TWI766930B - Classification-based character skew correction apparatus and method thereof - Google Patents
Classification-based character skew correction apparatus and method thereof Download PDFInfo
- Publication number
- TWI766930B TWI766930B TW107101057A TW107101057A TWI766930B TW I766930 B TWI766930 B TW I766930B TW 107101057 A TW107101057 A TW 107101057A TW 107101057 A TW107101057 A TW 107101057A TW I766930 B TWI766930 B TW I766930B
- Authority
- TW
- Taiwan
- Prior art keywords
- character
- target objects
- classification
- image
- candidate
- Prior art date
Links
Images
Landscapes
- Character Input (AREA)
- Sorting Of Articles (AREA)
Abstract
Description
本發明係有關於影像處理,特別是有關於一種分類基礎式之字符傾斜校正裝置及其方法。 The present invention relates to image processing, in particular to a classification-based character inclination correction device and method thereof.
在視覺影像檢測上,輸入的待識別影像中之字符(text/character)會因會打印或定位的關係而有傾斜的情況。除此之外,在實際的應用上,同時會遇到許多不同狀況的字符傾斜,如:不同的字體(點陣字、印刷體)、字體大小不一、雜亂背景等情況,這會影響字符辨識之準確率。所以在對影像中的字符進行文字辨識處理前,就需要先檢測字符方向,並校正字符方向。 In visual image detection, the characters (text/character) in the input image to be recognized may be inclined due to the relationship between printing and positioning. In addition, in practical applications, there will be many characters skewed in different situations, such as: different fonts (dot-matrix, printed), different font sizes, cluttered backgrounds, etc., which will affect character recognition. the accuracy rate. Therefore, before character recognition processing is performed on the characters in the image, it is necessary to detect the character direction and correct the character direction.
在傳統的傾斜校正演算法中,通常都是直接對在待識別影像中之字符考量其整體的傾斜變化,例如霍夫變換(Hough Transform)、雷登變換(Radom Transform)、最小標準差法(Minimum Standard Deviation)、及最短距離平方法等等。換言之,上述傳統的傾斜校正演算法都是尋找在輸入影像中之字符整體的最佳解之角度以決定其傾斜角度,而無法考量到個別 字符之間的關係,也因此這些方法所得到的傾斜角度不穩定且容易受到其他因素影響(例如字體不同、字符大小寫混合、雜訊干擾),進而導致字符校正錯誤。 In the traditional tilt correction algorithm, the overall tilt change of the characters in the image to be recognized is usually directly considered, such as Hough Transform, Radom Transform, minimum standard deviation method ( Minimum Standard Deviation), and the shortest distance square method, etc. In other words, the above-mentioned traditional tilt correction algorithm is to find the angle of the best solution of the whole character in the input image to determine the tilt angle, and cannot take into account the individual The relationship between characters, and therefore the inclination angle obtained by these methods, is unstable and easily affected by other factors (eg, different fonts, mixed uppercase and lowercase characters, noise interference), which leads to character correction errors.
因此,需要一種分類基礎式之字符傾斜校正裝置及其方法以解決上述問題。 Therefore, a classification-based character inclination correction device and method thereof are required to solve the above-mentioned problems.
本發明係提供一種分類基礎式之字符傾斜校正方法,包括:取得一輸入字符影像;由該輸入字符影像中辨識出複數個目標物件;將該複數個目標物件分類為至少一個候選字符類別;由該至少一個候選字符類別中決定一主要字符類別;計算該主要字符類別中之各目標物件所相應之一傾斜角度;以及依據所計算出之該主要字符類別的該傾斜角度對該輸入影像進行影像傾斜校正以產生一校正影像。 The present invention provides a character inclination correction method based on classification, comprising: obtaining an input character image; identifying a plurality of target objects from the input character image; classifying the plurality of target objects into at least one candidate character category; Determine a main character type from the at least one candidate character type; calculate an inclination angle corresponding to each target object in the main character type; and image the input image according to the calculated inclination angle of the main character type Tilt correction to generate a corrected image.
本發明更提供一種分類基礎式之字符傾斜校正裝置,包括:一記憶體單元,用以儲存一字符傾斜校正程式;以及一處理單元,用以由該記憶體單元讀取並執行該字符傾斜校正程式以執行下列步驟:取得一輸入字符影像;由該輸入字符影像中辨識出複數個目標物件;將該複數個目標物件分類為至少一個候選字符類別;由該至少一個候選字符類別中決定一主要字符類別;計算該主要字符類別中之各目標物件所相應之一傾斜角度;以及依據所計算出之該主要字符類別的該傾斜角度對該輸入影像進行影像傾斜校正以產生一校正影像。 The present invention further provides a classification-based character skew correction device, comprising: a memory unit for storing a character skew correction program; and a processing unit for reading and executing the character skew correction from the memory unit The program performs the following steps: obtaining an input character image; identifying a plurality of target objects from the input character image; classifying the plurality of target objects into at least one candidate character class; determining a main character from the at least one candidate character class character type; calculating an inclination angle corresponding to each target object in the main character type; and performing image inclination correction on the input image according to the calculated inclination angle of the main character type to generate a corrected image.
100‧‧‧字符傾斜校正裝置 100‧‧‧Character tilt correction device
110‧‧‧處理單元 110‧‧‧Processing unit
120‧‧‧記憶體單元 120‧‧‧Memory cells
121‧‧‧揮發性記憶體 121‧‧‧Volatile memory
122‧‧‧非揮發性記憶體 122‧‧‧Non-volatile memory
123‧‧‧字符傾斜校正程式 123‧‧‧Character Skew Correction Program
210‧‧‧輸入字符影像 210‧‧‧Input character image
θ1‧‧‧旋轉角度 θ 1 ‧‧‧Rotation angle
YTP1、YBP1、YTP2、YBP2‧‧‧座標 Y TP1 , Y BP1 , Y TP2 , Y BP2 ‧‧‧coordinates
S310-S360‧‧‧步驟 S310-S360‧‧‧Steps
第1圖係顯示依據本發明一實施例中之字符傾斜校正裝置之功能方塊圖。 FIG. 1 is a functional block diagram of a character skew correction device according to an embodiment of the present invention.
第2A圖係繪示本發明一實施例中計算目標物件之物件高度的示意圖。 FIG. 2A is a schematic diagram of calculating the object height of the target object according to an embodiment of the present invention.
第2B圖係繪示本發明另一實施例中計算目標物件之物件高度的示意圖。 FIG. 2B is a schematic diagram of calculating the object height of the target object in another embodiment of the present invention.
第3圖係顯示依據本發明一實施例中之一分類基礎式之字符傾斜校正方法的流程圖。 FIG. 3 is a flowchart showing a method for correcting character inclination according to a classification-based formula in an embodiment of the present invention.
第4A~4F圖係顯示依據本發明一實施例中對目標物件進行分類之分類條件的示意圖。 FIGS. 4A to 4F are schematic diagrams showing classification conditions for classifying target objects according to an embodiment of the present invention.
為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。 In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, a preferred embodiment is exemplified below, and is described in detail as follows in conjunction with the accompanying drawings.
第1圖係顯示依據本發明一實施例中之字符傾斜校正裝置之功能方塊圖。如第1圖所示,字符傾斜校正裝置100包括一處理單元110及一記憶體單元120。記憶體單元120係包括一揮發性記憶體121及一非揮發性記憶體122。揮發性記憶體121可為一隨機存取記憶體,例如是一靜態隨機存取記憶體(SRAM)或一動態隨機存取記憶體(DRAM),但本發明並不限於此。非揮發性記憶體122例如可為一硬碟機、一固態硬碟機、
一快閃記憶體、或一唯讀記憶體,但本發明並不限於此。
FIG. 1 is a functional block diagram of a character skew correction device according to an embodiment of the present invention. As shown in FIG. 1 , the character
非揮發性記憶體122係儲存一字符傾斜校正程式123,處理單元110係將該字符傾斜校正程式123由該非揮發性記憶體122讀取至揮發性記憶體121並執行,其中該字符傾斜校正程式123係包括一字符傾斜校正方法之程式碼。
The
本發明中之字符傾斜校正方法係可考慮在輸入字符影像中之部份字符的方向變化,而不直接考量全部字符之整體的方向變化。因為全部字符之整體的方向變化很容易受到雜訊影響之外,字符本身的差異也會影響到計算的結果。例如在輸入字符影像中有一字串「A---」,其中A很明顯的和其他字不同。在計算該字串之傾斜角度時,因為字符A的關係會導致整個字串之字符之整體的方向偏移而造成所計算出的傾斜角度錯誤。相對而言,若能只考量字符「-」的方向變化,所計算出的傾斜角度才會是正確的。 The character inclination correction method of the present invention can consider the direction change of some characters in the input character image, instead of directly considering the whole direction change of all characters. Because the overall direction change of all characters is easily affected by noise, differences in characters themselves also affect the calculation results. For example, there is a string "A---" in the input character image, in which A is obviously different from other characters. When calculating the inclination angle of the character string, because the relationship of the character A causes the direction of the whole character of the whole character string to be shifted, the calculated inclination angle is wrong. Relatively speaking, if only the direction change of the character "-" can be considered, the calculated inclination angle will be correct.
第2A圖係繪示本發明一實施例中計算目標物件之物件高度的示意圖。第2B圖係繪示本發明另一實施例中計算目標物件之物件高度的示意圖。在本實施例中,目標物件以一個字符為例,如「D」(大寫字母)、「x」(小寫字母)、「;」(標點符號)。 FIG. 2A is a schematic diagram of calculating the object height of the target object according to an embodiment of the present invention. FIG. 2B is a schematic diagram of calculating the object height of the target object in another embodiment of the present invention. In this embodiment, the target object is a character such as "D" (uppercase letter), "x" (lowercase letter), ";" (punctuation mark).
如第2A圖所示,目標物件例如可為一大寫英文字母D。假定該目標物件之旋轉角度為0,則處理單元110可計算出目標物件之頂點座標TP及基點座標BP,其中頂點係指目標物件在垂直方向(Y軸)的最高座標點,基點係指目標物件在垂直方向(Y軸)的最低點座標。需注意的是,當輸入字符影像以
其中心點進行旋轉時,目標物件之頂點及基點並非一直在固定位置,在不同的旋轉角度下,頂點均是指目標物件在該旋轉角度下在垂直方向(Y軸)的最高座標點,基點均是指目標物件在該旋轉角度下在垂直方向(Y軸)的最低點座標。在第2A圖之實施例係以輸入字符影像中之其中一個目標物件為例。若目標物件之數量等於1,則並不需進行額外的分類判斷,可直接判斷目標物件之傾斜角度。
As shown in FIG. 2A , the target object can be, for example, a capital letter D. Assuming that the rotation angle of the target object is 0, the
若目標物件之數量大於1,處理單元110係分別計算各目標物件在旋轉角度範圍(例如旋轉角度介於正負45度之間)之內中之各旋轉角度θ(例如可以一預定間隔,例如1度或5度進行取樣計算)的頂點座標TP(XTP,YTP)及基點座標BP(XBP,YBP)。其中頂點及基點之間的垂直方向距離即為物件高度h。接著,若目標物件之數量大於1(意即有複數個目標物件),處理單元110係以組合的方式比較在輸入字符影像中之任意兩個目標物件之間在各旋轉角度θ之物件高度差值diff(例如僅考慮Y軸座標),例如可用下列方程式表示:diff ij =|object i (Y TP )-object j (Y TP )|+|object i (Y BP )-object j (Y BP )| (1)
If the number of target objects is greater than 1, the
其中i及j係為介於1~N的正整數,且i不等於j。在一實施例中,若目標物件之數量大於1(意即有複數個目標物件),處理單元110係依據所計算出在各旋轉角度之任意兩個目標物件之間的物件高度差值diff對此兩個目標物件進行分類。舉例來說,處理單元110係判斷物件高度差值diff是否小於一預定值,若該物件高度差值小於一預定值時,則處理單元110則可判斷此兩個目標物件屬於同一候選字符類別。若該物件高度
差值不小於該預定值時,將所選擇該兩個目標物件分至不同候選字符類別。
where i and j are positive integers ranging from 1 to N, and i is not equal to j. In one embodiment, if the number of target objects is greater than 1 (that is, there are multiple target objects), the
舉例來說,若在輸入字符影像210中有5個目標物件:「aDcDc」,當對輸入字符影像進行旋轉時(例如順時針旋轉θ1角度),此5個目標物件亦會對應地旋轉,如第2B圖所示。上述兩兩目標物件之高度差值的比較運算的總次數即為,也就是10次。兩兩目標物件的比較關係為:(1)aD(2)ac(3)aD(4)ac(5)Dc(6)DD(7)Dc(8)cD(9)cc(10)Dc。意即以不同組合的方式對所有物件進行兩兩目標物件之高度差值diff的比較。舉例來說,對於左邊的大寫字母D來說,其頂點及端點在垂直方向(Y軸)的座標例如分別為YTP1及YBP1;對於右邊的大寫字母D來說,其頂點及端點在垂直方向(Y軸)的座標例如分別為YTP2及YBP2。就在此旋轉角度θ1相應的高度差值diff=|YTP1-YTP2|+|YBP1-YBP2|。在此例中,目標物件D、D會被分為同一類、目標物件a、c、c亦會被分為同一類。
For example, if there are 5 target objects: "aDcDc" in the
詳細而言,若是字體相同的字符,通常會有類似的物件高度,例如英文大寫字母,這些字母在進行上述判斷時會在幾個特定角度中會具有相當接近的物件高度差值,故會被分在同一個類別中。然而,英文小寫字母的高度則不一致,要同屬於相同的字母、同屬於一般小寫字母(例如w、n、c、e、a等等)、或是同屬於特殊小寫字母(例如g、j、p、q、y等等、或是f、h、b、d、k等等)才會被分在同一個類別中。此外,標點符號(+-*/)之高度也不一致,要相同的標點符號才會被分在同一個類別中,不同的標點符號則不一定會被分在同一個類別 中。 In detail, if characters with the same font, usually have similar object heights, such as English capital letters, these letters will have very close object height differences in several specific angles when making the above judgment, so they will be in the same category. However, the heights of English lowercase letters are not consistent, they must belong to the same letter, belong to the same general lowercase letters (such as w, n, c, e, a, etc.), or belong to the same special lowercase letters (such as g, j, p, q, y, etc., or f, h, b, d, k, etc.) are classified in the same category. In addition, the heights of punctuation marks (+-*/) are also inconsistent. Only the same punctuation marks can be classified into the same category, and different punctuation marks are not necessarily classified into the same category. middle.
舉例來說,若在輸入字符影像中有一字串為「WWWxxyy--」,其中W為英文大寫字母,x及y為英文小寫字母,-則為標點符號。依據上述之判斷機制,則會得到4個候選字符類別,例如(1)WWW、(2)xx、(3)yy、(4)--。 For example, if there is a character string in the input character image as "WWWxxyy--", where W is an English uppercase letter, x and y are English lowercase letters, and - is a punctuation mark. According to the above judgment mechanism, four candidate character categories are obtained, such as (1) WWW, (2) xx, (3) yy, (4)--.
在一實施例中,處理單元110係以目標物件數量最多的候選字符類別以做為主要字符類別以進行其傾斜角度之計算,例如計算的條件為在主要字符類別中之各目標物件之間的物件高度差值的為最小值所相應的旋轉角度,此即為傾斜角度φ,傾斜角度φ例如可用下列公式表示:
在決定主要字符類別之傾斜角度後,處理單元110即依據所決定之該傾斜角度對該輸入字符影像進行影像傾斜校正。對於光學文字辨識(Optical Character Recognition,OCR)之流程來說,需先對輸入字符影像進行影像傾斜校正之後,才會進行字符分割及字符辨識,並輸出最後的文字辨識結果。
After determining the inclination angle of the main character type, the
本發明中之字符傾斜校正方法可讓影像傾斜校正之校正影像中之字符更能符合實際的字符傾斜情況,進而可增加字符辨識之準確率。 The character inclination correction method in the present invention can make the characters in the corrected image of the image inclination correction more in line with the actual character inclination, thereby increasing the accuracy of character recognition.
在一些實施例中,處理單元110亦可使用其他演算法對輸入字符影像中之各目標物件進行分類,例如:(1)字符本身的長寬比,如第4A圖所示;(2)字符之外接矩形的中心點,如第4B圖所示;(3)字符之外接矩形的面積,如第4C圖所示;
(4)字符之外接圓形的圓心,如第4D圖所示;(5)字符之外接圓形的面積,如第4E圖所示;(6)字符之外接圓形的半徑,如第4F圖所示。意即,處理單元110可使用至少一種方法對輸入字符影像中之各目標物件進行分類以產生至少一個候選字符分類。
In some embodiments, the
在另一些實施例中,若能先確定所要辨識之字符的樣式類型,則可使用傳統的分類器進行分類。也就是說,可將所要辨識之各字符一一輸入分類器進行訓練,以產生各字符在訓練後之分類結果。其中上述分類器例如可使用支持向量機(Support Vector Machine、SVM)、最近鄰居分類法(K-nearest neighbor classification)、卷積神經網路(Convolutional Neural Networks)、或是深度學習(Deep learning)等方法,但本發明並不限於此。 In other embodiments, if the pattern type of the character to be recognized can be determined first, a traditional classifier can be used for classification. That is to say, each character to be recognized can be input into the classifier one by one for training, so as to generate the classification result of each character after training. The above-mentioned classifier can use, for example, Support Vector Machine (SVM), K-nearest neighbor classification (K-nearest neighbor classification), Convolutional Neural Networks (Convolutional Neural Networks), or deep learning (Deep learning), etc. method, but the present invention is not limited to this.
承上述實施例,處理單元110由至少一個候選字符類別中決定主要字符類別時,除了依據前述實施例中具有最小差值總和之候選字符類別之外,還可依據多種方法以由至少一個候選字符類別中決定主要字符類別,例如在候選字符類別中:(1)具有最大的字符面積總和;(2)具有最大的邊緣強度總和;(3)具有最多的字符數量;(4)具有最小的字符差異;(5)具有最大的字符之標準差總和;(6)具有最大的字符之變異數總和;(7)字符的平均亮度最小(黑色字)/最大(白色字),但本發明並不限於此。
According to the above-mentioned embodiment, when the
第3圖係顯示依據本發明一實施例中之一分類基礎式之字符傾斜校正方法的流程圖。在步驟S310,取得一輸入 字符影像。其中該輸入字符影像可來自一外部影像擷取裝置,或是可透過有線或無線傳輸介面由其他電腦設備所取得。 FIG. 3 is a flowchart showing a method for correcting character inclination according to a classification-based formula in an embodiment of the present invention. In step S310, an input is obtained character image. The input character image may come from an external image capturing device, or may be obtained by other computer equipment through a wired or wireless transmission interface.
在步驟S320,由該輸入字符影像中辨識出複數個目標物件。上述目標物件係包括字符或雜訊。舉例來說,在辨識目標物件前,處理單元110可以採用至少一種演算法以將雜訊從輸入字符影像去除,例如可利用設定閾值、濾波器、及/或是形態學(morphology)之運算以去除雜訊。設定閾值之演算法例如可利用下列條件:灰階值強度(gray value)、邊緣強度(magnitude)、面積大小、高度、寬度、或其組合,但本發明並不限於此。使用濾波器之演算法例如可利用下列濾波器以去除雜訊,例如:平均濾波器(mean filter)、中值濾波器(median filter)、最小值/最大值濾波(min/max filter)、波峰波谷濾波器(peak and valley filter)、高斯濾波器(Gaussian filter)、低通濾波器(low-pass filter)、高通濾波器(high-pass filter)等等,但本發明並不限於此。使用形態學之運算以去除雜訊的演算法例如包括:侵蝕(erosion)、開放運算(opening)等等,但本發明並不限於此。在進行雜訊去除處理之後,處理單元110則會由已去除雜訊之輸入字符影像辨識出複數個目標物件。
In step S320, a plurality of target objects are identified from the input character image. The above-mentioned target objects include characters or noise. For example, before identifying the target object, the
在步驟S330,將該複數目標物件分類為至少一個候選字符類別。舉例來說,處理單元110可依據一第一判斷機制將該複數個目標物件分類為至少一個候選字符類別,其中第一判斷機制除了可使用物件高度差值以對目標物件進行分類之外,亦可使用不同的演算法對輸入字符影像中之各目標物件進行分類,例如:(1)字符本身的長寬比;(2)字符之外接矩形
的中心點;(3)字符之外接矩形的面積;(4)字符之外接圓形的圓心;(5)字符之外接圓形的面積;(6)字符之外接圓形的半徑。在另一些實施例中,處理單元110亦可使用支持向量機(Support Vector Machine、SVM)、最近鄰居分類法(K-nearest neighbor classification)、卷積神經網路(Convolutional Neural Networks)、或是深度學習(Deep learning)等方式預先對各種可能輸入的字符預先進行訓練並分類。
In step S330, the plural target objects are classified into at least one candidate character category. For example, the
在步驟S340,由該至少一個候選字符類別中決定一主要字符類別。舉例來說,處理單元110可依據一第二判斷機制以由該至少一個候選字符類別中決定該主要字符類別,其中第二判斷機制除了可使用具有最小差值總和之候選字符類別以決定為主要字符類別之外,亦可使用多種方法以決定主要字符類別,例如:例如在候選字符類別中:(1)具有最大的字符面積總和;(2)具有最大的邊緣強度總和;(3)具有最多的字符數量;(4)具有最小的字符差異;(5)具有最大的字符之標準差總和;(6)具有最大的字符之變異數總和;(7)字符的平均亮度最小(黑色字)/最大(白色字),但本發明並不限於此。
In step S340, a main character class is determined from the at least one candidate character class. For example, the
在步驟S350,計算該主要字符類別中之各目標物件所相應之一傾斜角度。簡單來說,在輸入字符影像中之各目標物件的傾斜角度係由主要字符類別中之各目標物件的傾斜角度所決定。 In step S350, an inclination angle corresponding to each target object in the main character category is calculated. To put it simply, the inclination angle of each target object in the input character image is determined by the inclination angle of each target object in the main character category.
在步驟S360,依據所計算出之該主要字符類別的該傾斜角度對該輸入影像進行影像傾斜校正以產生一校正影像。因為本發明中對目標物件進行分類以及由候選字符類別中 決定主要字符類別之方法可準確地計算出傾斜角度,故依據所計算出之傾斜角度進行影像傾斜校正可得到更好的效果,並可增進後續文字辨識之準確率。 In step S360, image tilt correction is performed on the input image according to the calculated tilt angle of the main character type to generate a corrected image. Because in the present invention, the target object is classified and selected from the candidate character category The method of determining the main character type can accurately calculate the inclination angle, so the image inclination correction according to the calculated inclination angle can obtain better effects and improve the accuracy of subsequent character recognition.
綜上所述,本發明係提供一種分類基礎式的字符傾斜校正裝置及其方法,其可經由對輸入字符影像中之字符進行分類,並決定出主要字符類別以計算相應的傾斜角度,並利用所計算出之傾斜角度進行影像傾斜校正,藉以取得較好的校正影像。此外,當取得了較佳的校正影像後,亦可增加在光學文字辨識之後續流程中之字符分割及字符辨識之準確度。 To sum up, the present invention provides a classification-based character inclination correction device and method thereof, which can classify the characters in the input character image, determine the main character type, calculate the corresponding inclination angle, and use the The calculated tilt angle is used for image tilt correction, so as to obtain a better corrected image. In addition, when a better corrected image is obtained, the accuracy of character segmentation and character recognition in the subsequent process of optical character recognition can also be increased.
本發明之方法,或特定型態或其部份,可以以程式碼的型態包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置或系統。本發明之方法、系統與裝置也可以以程式碼型態透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置或系統。當在一般用途處理器實作時,程式碼結合處理器提供一操作類似於應用特定邏輯電路之獨特裝置。 The methods of the present invention, or specific forms or portions thereof, may be embodied in the form of code on physical media such as floppy disks, optical disks, hard disks, or any other machine-readable (eg, computer-readable) ) storage medium in which, when the code is loaded and executed by a machine, such as a computer, the machine becomes a device or system for participating in the present invention. The method, system and device of the present invention can also be transmitted in the form of code through some transmission medium, such as wire or cable, optical fiber, or any transmission type, wherein when the code is received by a machine, such as a computer, loaded, loaded And when executed, the machine becomes a device or system for participating in the present invention. When implemented on a general-purpose processor, the code combines with the processor to provide a unique device that operates analogously to application-specific logic circuits.
本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention is disclosed above with preferred embodiments, it is not intended to limit the scope of the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the appended patent application.
S310-S360‧‧‧步驟 S310-S360‧‧‧Steps
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107101057A TWI766930B (en) | 2018-01-11 | 2018-01-11 | Classification-based character skew correction apparatus and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107101057A TWI766930B (en) | 2018-01-11 | 2018-01-11 | Classification-based character skew correction apparatus and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201931202A TW201931202A (en) | 2019-08-01 |
TWI766930B true TWI766930B (en) | 2022-06-11 |
Family
ID=68315687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107101057A TWI766930B (en) | 2018-01-11 | 2018-01-11 | Classification-based character skew correction apparatus and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI766930B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408937A (en) * | 2008-11-07 | 2009-04-15 | 东莞市微模式软件有限公司 | Method and apparatus for locating character row |
-
2018
- 2018-01-11 TW TW107101057A patent/TWI766930B/en active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408937A (en) * | 2008-11-07 | 2009-04-15 | 东莞市微模式软件有限公司 | Method and apparatus for locating character row |
Also Published As
Publication number | Publication date |
---|---|
TW201931202A (en) | 2019-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086714B (en) | Form recognition method, recognition system and computer device | |
WO2020119301A1 (en) | Two-dimensional code identification method, apparatus, and device | |
US8811744B2 (en) | Method for determining frontal face pose | |
US9104940B2 (en) | Line segmentation method applicable to document images containing handwriting and printed text characters or skewed text lines | |
US9959475B2 (en) | Table data recovering in case of image distortion | |
US10318803B1 (en) | Text line segmentation method | |
US10438083B1 (en) | Method and system for processing candidate strings generated by an optical character recognition process | |
EP2553626A2 (en) | Segmentation of textual lines in an image that include western characters and hieroglyphic characters | |
JP6170860B2 (en) | Character recognition device and identification function generation method | |
JP2008040693A (en) | Line noise removal device, line noise removal method and line noise removal program | |
CN110717492A (en) | Method for correcting direction of character string in drawing based on joint features | |
CN111402316A (en) | Method for rapidly detecting ellipse in image based on false link removal | |
CN115311262A (en) | Printed circuit board defect identification method | |
CN107368826B (en) | Method and apparatus for text detection | |
RU2453919C1 (en) | Method of detecting spam in bitmap image | |
KR100718139B1 (en) | Apparatus and method for recognizing character in an image | |
WO2022021687A1 (en) | Method for positioning quick response code area, and electronic device and storage medium | |
TWI766930B (en) | Classification-based character skew correction apparatus and method thereof | |
Arnia et al. | Moment invariant-based features for Jawi character recognition | |
CN116434071B (en) | Determination method, determination device, equipment and medium for normalized building mask | |
JP4690190B2 (en) | Image processing method, apparatus, and program | |
Davda et al. | Offline signature verification system using energy on grid level | |
CN110032996B (en) | Character inclination correcting device and method based on classification | |
US20220189182A1 (en) | Reading system, reading device, and storage medium | |
JP6310155B2 (en) | Character recognition device, character recognition method, and character recognition program |