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
Copy file name to clipboardExpand all lines: docs/app/docs/user-guide/config.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,8 @@ Config Files:
24
24
-`min_frames` (int): Specify the minimum required frames for the tracking. Wee need this parameter to ensure there is at leas two strokes in the tracking result.
25
25
-`shift_top_points` (int): Shift predicted top points by given frame number. Positive values delay the position and negative values result in an earlier position.
26
26
-`shift_bottom_points` (int): Shift predicted bottom points by given frame number. Positive values delay the position and negative values result in an earlier position.
27
-
-`bottom_threshold` (float): Define the bottom threshold. All bottom points lower than this threshold will be set to 0. Set `0.0` to disable this function.
27
+
-`top_threshold` (float): Define the top threshold. All top points greater than `(max - threshold)` will be set to the specified max value. Set 0.0 to disable this function.
28
+
-`bottom_threshold` (float): Define the bottom threshold. All bottom points lower than `(min + threshold)` will be set to the specified min value. Set 0.0 to disable this function.
<li><code>min_frames</code> (int): Specify the minimum required frames for the tracking. Wee need this parameter to ensure there is at leas two strokes in the tracking result.</li>
132
132
<li><code>shift_top_points</code> (int): Shift predicted top points by given frame number. Positive values delay the position and negative values result in an earlier position.</li>
133
133
<li><code>shift_bottom_points</code> (int): Shift predicted bottom points by given frame number. Positive values delay the position and negative values result in an earlier position.</li>
134
-
<li><code>bottom_threshold</code> (float): Define the bottom threshold. All bottom points lower than this threshold will be set to 0. Set <code>0.0</code> to disable this function.</li>
134
+
<li><code>top_threshold</code> (float): Define the top threshold. All top points greater than <code>(max - threshold)</code> will be set to the specified max value. Set 0.0 to disable this function.</li>
135
+
<li><code>bottom_threshold</code> (float): Define the bottom threshold. All bottom points lower than <code>(min + threshold)</code> will be set to the specified min value. Set 0.0 to disable this function.</li>
<spanclass="sig-name descname"><spanclass="pre">bottom_threshold</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">float</span></em><emclass="property"><spanclass="pre">=</span><spanclass="pre">25.0</span></em><aclass="headerlink" href="#funscript_editor.algorithms.funscriptgenerator.FunscriptGeneratorParameter.bottom_threshold" title="Permalink to this definition">¶</a></dt>
600
+
<spanclass="sig-name descname"><spanclass="pre">bottom_threshold</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">float</span></em><emclass="property"><spanclass="pre">=</span><spanclass="pre">5.0</span></em><aclass="headerlink" href="#funscript_editor.algorithms.funscriptgenerator.FunscriptGeneratorParameter.bottom_threshold" title="Permalink to this definition">¶</a></dt>
601
601
<dd></dd></dl>
602
602
603
603
<dlclass="py attribute">
@@ -640,6 +640,11 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
640
640
<spanclass="sig-name descname"><spanclass="pre">start_frame</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">int</span></em><emclass="property"><spanclass="pre">=</span><spanclass="pre">0</span></em><aclass="headerlink" href="#funscript_editor.algorithms.funscriptgenerator.FunscriptGeneratorParameter.start_frame" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">top_threshold</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">float</span></em><emclass="property"><spanclass="pre">=</span><spanclass="pre">5.0</span></em><aclass="headerlink" href="#funscript_editor.algorithms.funscriptgenerator.FunscriptGeneratorParameter.top_threshold" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">track_men</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">bool</span></em><emclass="property"><spanclass="pre">=</span><spanclass="pre">True</span></em><aclass="headerlink" href="#funscript_editor.algorithms.funscriptgenerator.FunscriptGeneratorParameter.track_men" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">funscript_editor.utils.config.</span></span><spanclass="sig-name descname"><spanclass="pre">HYPERPARAMETER</span></span><emclass="property"><spanclass="pre">=</span><spanclass="pre">{'avg_sec_for_local_min_max_extraction':</span><spanclass="pre">1.9,</span><spanclass="pre">'bottom_threshold':</span><spanclass="pre">25.0,</span><spanclass="pre">'min_frames':</span><spanclass="pre">120,</span><spanclass="pre">'shift_bottom_points':</span><spanclass="pre">0,</span><spanclass="pre">'shift_top_points':</span><spanclass="pre">0,</span><spanclass="pre">'skip_frames':</span><spanclass="pre">1}</span></em><aclass="headerlink" href="#funscript_editor.utils.config.HYPERPARAMETER" title="Permalink to this definition">¶</a></dt>
188
+
<spanclass="sig-prename descclassname"><spanclass="pre">funscript_editor.utils.config.</span></span><spanclass="sig-name descname"><spanclass="pre">HYPERPARAMETER</span></span><emclass="property"><spanclass="pre">=</span><spanclass="pre">{'avg_sec_for_local_min_max_extraction':</span><spanclass="pre">1.9,</span><spanclass="pre">'bottom_threshold':</span><spanclass="pre">5.0,</span><spanclass="pre">'min_frames':</span><spanclass="pre">120,</span><spanclass="pre">'shift_bottom_points':</span><spanclass="pre">0,</span><spanclass="pre">'shift_top_points':</span><spanclass="pre">0,</span><spanclass="pre">'skip_frames':</span><spanclass="pre">1,</span><spanclass="pre">'top_threshold':</span><spanclass="pre">5.0}</span></em><aclass="headerlink" href="#funscript_editor.utils.config.HYPERPARAMETER" title="Permalink to this definition">¶</a></dt>
0 commit comments