Research Article
Texts as Lines: Text Detection with Weak Supervision
Algorithm 1
Apex-edge expansion algorithm.
| Input: : Segmentation result | | Output: : Text instances | | | | | | for do | | if then | | | | while do | | Dilation ()//expansion operation | | Mean () | | //get the average score of the extended region | | if or then | | Enqueue//push result into | | | | end if | | | | end while | | end if | | end for |
|