# About this Project This project is being developed as a practical part of bachelor's thesis at Brno Universtiy of Technology - Faculty of Information Studies. It is as of now a work in progress, no results guaranteed. The topic of this thesis is Generating a 3D Fingerprint Model. This application can be used to apply series of image processing filters to a fingerprint image to make it more suitable for conversion to 3D stl model and printing. It also includes the functionality to use generated image as a height map for generating an stl model. This model can either be planar or curved. # Prerequisites For now this is only viable for ubuntu gnu/linux machines Before cloning repository, you need these to succesfully use the application. * python version 3.10 is a requirement might work on earlier python 3 versions ```sh apt install python3.10 ``` * python graphical modules ```sh pip install numpy matplotlib pillow ``` # Installation Installation is relatively fast and easy. 1. Clone the repository ```sh git clone ssh://git@strade.fit.vutbr.cz:3022/xlanro00/BP_DP-xlanro00.git ``` 2. Prepare an image file containing fingerprint 3. Run the application # Usage There are two ways to enter filters * manually from command line, list filter names and parameters ```sh python src/main.py res/test_fp.png res/test_fp_cpy.png 100 gaussian ksize=5 erode dilate sharpen ``` * manually from preset saved in a json config file, that can be used to create new presets ```sh python src/main.py res/test_fp.png res/test_fp_cpy.png 100 --config config/config.json default ``` # Configuration There is an option to input the filter series as a preset to json configuration file. ```diff { "preset_name": [ { "name": "first_filter_name", "first_param_name": first_param_value, "second_param_name": second_param_value ... }, { "name": "second_filter_name", ... } ], "another_preset_name": [ ... ] } ``` All the filters used and their parameters will be described in documentation. # Comparison Image before processing the fingerprint and after applying a presets.
Before | After |
---|