|
|
@ -92,7 +92,7 @@ There are two ways to enter the filters:
|
|
|
|
2. load them from preset in a JSON **configuration file**, that can be used to tune and modify existing presets, or create new ones:
|
|
|
|
2. load them from preset in a JSON **configuration file**, that can be used to tune and modify existing presets, or create new ones:
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4_from_preset.png 600 --config conf/conf.json git_example
|
|
|
|
python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4_from_preset.png 600 --config conf/conf.json new_ridge
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# Configuration and presets
|
|
|
|
# Configuration and presets
|
|
|
@ -294,7 +294,7 @@ third the rate of curvature along x axis `curv_rate_x` and the third is the rate
|
|
|
|
* Working example curved stl generation:
|
|
|
|
* Working example curved stl generation:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4_from_preset.png 600 --config config/config.json git_example --stl c 2 10 2 2
|
|
|
|
python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4_from_preset.png 600 --config config/config.json new_ridge --stl c 2 10 2 2
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# Generating planar finger model
|
|
|
|
# Generating planar finger model
|
|
|
@ -311,7 +311,7 @@ Optional parameters are height of the papilar lines and base thickness.
|
|
|
|
* Working example of planar stl generation:
|
|
|
|
* Working example of planar stl generation:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
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
|
|
|
|
python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4_from_preset.png 600 --config config/config.json new_ridge --stl p 2 10
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# Mapping to existing finger model
|
|
|
|
# Mapping to existing finger model
|
|
|
@ -331,7 +331,7 @@ The last parameter `finger_model` allows the user to choose custom finger model.
|
|
|
|
* Working example of finger mapping
|
|
|
|
* Working example of finger mapping
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
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 res/finger_backup/finger-mod.stl
|
|
|
|
python3 src/main.py res/examples/Palec_P4.tif res/examples/Palec_P4.png 600 --config conf/conf.json new_ridge --stl m 0.2 2 0 0 0 res/finger_backup/finger-mod.stl
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|