Updated README and user manual.
This commit is contained in:
@ -219,10 +219,12 @@ Woking example
|
||||
<pre><code>python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4_from_preset.png 600 --config config/config.json git_example --stl p 2 10</code></pre></li>
|
||||
</ul>
|
||||
<h2 id="mapping-to-existing-finger-model">Mapping to existing finger model</h2>
|
||||
<p>This section will be added later, (if implemented) mapping of fingerprint to a given finger model.</p>
|
||||
<p>Using <code>m</code> mode modifies the preexisting finger model to contain fingerprint. First optional parameter is papilar line height <code>height_line</code>, second is the number of iterations <code>iter</code> to make the finger mesh denser. Higher number of itertions results in denser finger mesh and better result. The last three parameters are axis offsets for the finger, <code>finger_x</code>, <code>finger_y</code>, <code>finger_z</code>. These control the location of the finger. They need to be set only if the user wants to move core of the print closer to the center of the finger.</p>
|
||||
<ul>
|
||||
<li><p>General command form for mapped stl generation:</p>
|
||||
<pre><code>python3 src/main.py input_file output_file dpi --config config_file preset --stl m height_line height_base finger_file</code></pre></li>
|
||||
<li><p>General command form for mapped stl generation</p>
|
||||
<pre><code>python3 src/main.py input_file output_file dpi --config config_file preset --stl m height_line iter finger_x finger_y finger_z</code></pre></li>
|
||||
<li><p>Working example of finger mapping</p>
|
||||
<pre><code>python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4.png 600 --config conf/conf.json ridge --stl m 0.2 2 0 0 0</code></pre></li>
|
||||
</ul>
|
||||
<h1 id="usage">Usage</h1>
|
||||
<p>When in doubt, you can always check the help with:</p>
|
||||
@ -231,8 +233,9 @@ Woking example
|
||||
<pre><code>usage: main.py [-h] [-m | --mirror | --no-mirror] input_file
|
||||
output_file dpi ([-c | --config config_file preset] |
|
||||
[filters ...]) [-s | --stl_file p height_line height_base |
|
||||
--stl_file c height_line height_base curv_rate_x curv_rate_y |
|
||||
--stl_file m height_line height_base finger_file]
|
||||
--stl_file c height_line height_base curv_rate_x curv_rate_y |
|
||||
--stl m height_line iter finger_x finger_y finger_z]
|
||||
[-d | --database database_filename]
|
||||
|
||||
Program for processing a 2D image into 3D fingerprint.
|
||||
|
||||
|
Reference in New Issue
Block a user