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
<li><b>float</b>: Any floating-point number greater than <code>0</code>;</li>
919
919
<li><b>Tuple[float,float]</b>: The expansion ratios in the horizontal and vertical directions, respectively;</li>
920
+
<li><b>dict</b>, keys as <b>int</b> representing <code>cls_id</code>, values as float scaling factors, e.g., <code>{0: (1.1, 2.0)}</code> means cls_id 0 expanding the width by 1.1 times and the height by 2.0 times while keeping the center unchanged;</li>
920
921
<li><b>None</b>: If set to <code>None</code>, the default value initialized for this parameter in the pipeline will be used, initialized as <code>1.0</code>;</li>
921
922
</ul>
922
923
</td>
@@ -925,10 +926,11 @@ In the above Python script, the following steps are executed:
925
926
<tr>
926
927
<td><code>layout_merge_bboxes_mode</code></td>
927
928
<td>Overlap box filtering method for layout area detection</td>
928
-
<td><code>str|None</code></td>
929
+
<td><code>str|dict|None</code></td>
929
930
<td>
930
931
<ul>
931
932
<li><b>str</b>: <code>large</code>, <code>small</code>, <code>union</code>, representing whether to retain the larger box, the smaller box, or both during overlap box filtering;</li>
933
+
<li><b>dict</b>, keys as <b>int</b> representing <code>cls_id</code> and values as merging modes, e.g., <code>{0: "large", 2: "small"};</li>
932
934
<li><b>None</b>: If set to <code>None</code>, the default value initialized for this parameter in the pipeline will be used, initialized as <code>large</code>;</li>
0 commit comments