擴增層場景文本偵測及辨識
Novel Network with Interpolation Layer for scene text detection and recognition
摘要
Scene text detection and recognition have attracted increasing interest in computer vision. However, previous segmentation-based methods often cannot detect regions accurately if both larger and smaller texts exist within the same image. In addition, the pooling operations in back-bone usually down-samples the image size to half in both the x and y directions. Then, one ob-ject whose size (e.g., 31 ×31) is just less than another object (e.g., 31 ×31) only 1 pixel, and will be down-scaled to another prediction map. The unfair downs-scaling behavior will degrade the accuracy of text detection. To solve the above problems, an INTErpolation Layer Network (INTELNet) with two more down-sample branches was designed to enrich the feature. The IN-TEL-Net designs a novel neck to create an interval layer between two feature layers from the original backbone. Loss information (caused by the above down-scaling pooling operations) can be recovered to produce better feature maps for accurately detecting texts whose sizes rang-ing between two scales. In addition to the interpolation layers, two more extrapolation layers are also created to detect texts with extremely larger sizes. The performance of
our network has been evaluated on different datasets including IC15, TotalText, MLT, TD500 Chinese dataset, and ship datasets datasets, most of the results show that our INTEL-Net has reached the highest accuracy.
Our recognition network has four stages: (1) It used TPS to transform the curved and tilted texts. (2) It adopted ResNet to extract features and reshape them into a sequence. (3) It applied Bi-LSTM to do sequence modelling because Bi-LSTM can compensate for the insufficient con-text information. (4) It chose attention-based sequence prediction to predict the output sequence.
our network has been evaluated on different datasets including IC15, TotalText, MLT, TD500 Chinese dataset, and ship datasets datasets, most of the results show that our INTEL-Net has reached the highest accuracy.
Our recognition network has four stages: (1) It used TPS to transform the curved and tilted texts. (2) It adopted ResNet to extract features and reshape them into a sequence. (3) It applied Bi-LSTM to do sequence modelling because Bi-LSTM can compensate for the insufficient con-text information. (4) It chose attention-based sequence prediction to predict the output sequence.
場景文本檢測和識別引起了計算機視覺越來越多的興趣。但是,如果同一圖像中同時存在較大和較小的文本,以前的基於分割的檢測方法通常無法準確檢測文字區域。此外,主幹中的池化操作通常在x和 y座標軸上將圖像大小下採樣到一半,當一個大小(例如 31 × 31)僅比另一個物件(例如 31 × 31)小 1 個像素時,他的尺寸將被縮小到另一個尺度的預測圖,這種不公平的縮減行為會降低文本檢測的準確性。為了解決上述問題,我們設計了具有兩個下採樣分支的插值層網絡(INTELNet)來豐富特徵。 INTELNet 設計了一個新穎的頸部,在原始主幹的兩個特徵層之間創建一個間隔層,用以恢復損失信息(由上述縮小池化操作引起)來生成更好的特徵圖,使我們能更準確的檢測大小介於兩個尺度之間的文本。除了插值層之外,我們還創建了兩個額外的外插層來檢測尺寸非常大的文本。我們在IC15、TotalText、MLT2017、中文資料庫、船隻資料庫上測試,顯示我們的方法具有更高的準確性。
在檢測完文字區域後,將檢測的結果裁切作為辨識階段的輸入,此階段有四個步驟。1. 利用 TPS 轉換彎曲及傾斜文本。2. 採用 ResNet 提取特徵並轉為序列。3. 利用BiLSTM進行序列建模,增添上下文訊息。4. 利用基於注意力的序列進行預測並輸出。
在檢測完文字區域後,將檢測的結果裁切作為辨識階段的輸入,此階段有四個步驟。1. 利用 TPS 轉換彎曲及傾斜文本。2. 採用 ResNet 提取特徵並轉為序列。3. 利用BiLSTM進行序列建模,增添上下文訊息。4. 利用基於注意力的序列進行預測並輸出。