This project is being developed as a practical part of bachelor's thesis at Brno University of Technology - Faculty of Information Technology.
It is as of now a work in progress.
This application has been developed as a part of bachelor's thesis at Brno University of Technology - Faculty of Information Technology.
The topic of this thesis was Generating a 3D Fingerprint Model from input fingerprint image.
The topic of this thesis is Generating a 3D Fingerprint Model from input fingerprint image.
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.
This application consists of two main parts. The first part of the application uses custom filter library to apply image filters to enhance fingerprint images.
This library consists of several filters imported from image processing modules.
The second part of the project includes the functionality to use generated image as a height map for generating 3D model in stl format.
This model can either be planar, curved or mapped.
The second part uses the processed image to make a 3D model of the fingerprint.
The model can then be used to print an accurate representation of human fingerprint using a 3D printer.
This model can either be planar, curved or mapped to a finger model.
# Prerequisites
@ -18,13 +19,13 @@ It should however be possible to run it in on most distributions, WSL and virtua
This guide is for Ubuntu machines only.
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
* **python** version 3.10 is a requirement might work on earlier python 3 versions
```sh
sudo apt install python3.10
```
* virtualenv package for virtual enviroment creation, other packages are installed automatically later
* **virtualenv** package for virtual enviroment creation, other packages are installed automatically later
```sh
pip install virtualenv
@ -32,67 +33,105 @@ Before cloning repository, you need these to succesfully use the application.
# Installation
1. Go to a suitable installation folder, for example Documents:
This will install the application and its components into the Documents directory.
It will also install several required python packages, including **venv**, which is used to create a virtual enviroment. Just paste and these commands into the command line.
1. Go to a suitable installation folder, for example **Documents**:
```sh
cd /home/username/Documents
```
2. Clone the repository to a suitable directory, for example:
5. Install required python modules from requirements.txt:
5. Automatically install required python modules from **requirements.txt**:
```sh
pip install -r requirements.txt
```
6. Now, you can run the application, as an example there is a file in res/examples called Palec_P4.tif. This is shown in the section below.
Now, you are all set to run the application.
Examples of how to do this are shown in the section bellow.
# Filtering images
Once all the requirements are installed, the application is ready to use.
Fingerprint sample is located in res/examples, its name is Palec_P4.tif.
* You will need to enter the virtual enviroment every time you want to use the application.
```sh
source .venv/bin/activate
```
* The application requires input and output filenames including path from the root project directory, dpi and filter list.
* The application requires **input** and **output filenames** including path from the root project directory, **dpi** and **filter list** as shown bellow.