You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
TextField is a great work, but I'm confused about the post processing:
We apply a simple dilation δ (with 3 × 3 structuring element) to group the representatives of the same text instance. This is followed by a connected component labeling that forms candidate text instances. The text superpixel grouping is depicted in line 17- 21 of Algorithm 1.
I understand that the dilate element kernel_size = 3x3 is for grouping the representatives of text instance, and the above code is for grouping the rest children pixels belonging to this instance, but I don't understand this: for (int dilDepth = 1; dilDepth <= min((int)(1*dict_p[2*col+1]-16), 12); dilDepth++) , and dilDepth stands for the deepest depth, but the magic numbers 16 and 12 represent for what meaning?
Thanks in advance for your reply!
The text was updated successfully, but these errors were encountered:
These lines are added for robustness since the representatives may not quite close to each other for some large text instances. Here, dict_p also stores the depth (the number of child nodes) of each representative. I use another dilation-like operation only in its direction and dilDepth limits the dilation depth. For the two hyper-parameters 16 and 12, they are coarsely chosen actually. I am sorry for these missing details in our paper.
Hi,
TextField is a great work, but I'm confused about the post processing:
and I found these in your post processing code:
I understand that the dilate element kernel_size = 3x3 is for grouping the representatives of text instance, and the above code is for grouping the rest children pixels belonging to this instance, but I don't understand this:
for (int dilDepth = 1; dilDepth <= min((int)(1*dict_p[2*col+1]-16), 12); dilDepth++)
, anddilDepth
stands for the deepest depth, but the magic numbers16
and12
represent for what meaning?Thanks in advance for your reply!
The text was updated successfully, but these errors were encountered: