1 of 14

Text localization and recognition�on complex street view�

Group 2

陳昱任、康楹婕、洪嘉妤、許哲瑋

2 of 14

Outline

  • Introduction
  • Dataset
  • Methods Comparison
  • Final result
  • Conclusion
  • Reference

3 of 14

Introduction

4 of 14

Introduction

  • A task about finding and realizing texts in a image
  • It’s difficult to recognize Taiwanese signboard, because…
    • Many of signboard’s shape(Rectangle, circle, irregular shape…)
    • Multiple languages in a signboard (Chinese, English, Japanese, Korean…)
    • Horizontal/Vertical text in the image
    • Inconsistent word size
  • There are two methods to accomplish the task:
    1. Separate: Text detection model + Text recognition model
    2. End to end: CRNN model = CNN + RNN
  • Evaluation metric is F-score

5 of 14

Taiwanese street view

1.Irregular shape/ Different word size

2.Different text direction

6 of 14

Dataset

7 of 14

Dataset

  • The organizer provides training set about 15188 images
  • There are a lot of competitions about scene text field, the famous one is ICDAR competition
  • ICDAR provide some datasets, for example: IC-15, IC-17, LSVT, CTW…
  • We expand training set with CTW(Chinese Text in the Wild) dataset

8 of 14

Method Comparison

9 of 14

Method Comparison

Text detection model

Text recognition model

Data augmentation

F-score

1

Paddle OCR

(End to end model)

Brightness, rotation, contrast, shift, Flip

0.633792

2

Yolov5

EfficientNet v2

Brightness, rotation, contrast, shift, Flip

0.664844

3

Yolov5

EfficientNet v2

Brightness, rotation, contrast, shift, Horizontal Flip,

MinAreaRect transform

0.690161

Remove vertical flip

Add MinAreaRect transform

Loss function: cross entropy

Learning Rate: 0.0001

Optimizer: Adam

Epochs: 100

10 of 14

Transform

  • Using opencv MinAreaRect
  • Apply random brightness, rotation, flip, resize, shift on our training set

11 of 14

Final result

12 of 14

Final result

13 of 14

Conclusion

14 of 14

Conclusion

  • Data processing is the most important part in this task
    • Text direction
    • Photo filming angle
  • End to end model performance is not very well
  • What we learned:
    • The bigger dataset we have, the bigger progress we done
    • Make good use of pre-trained model
    • Regularize all text shape in retangular