This Python file generates the .xyt files from the given .jpeg or .wsq image, in addition to the .xyt files, the mindtct, program of NBIS also generates other formats, which can be removed using a seperate Python file named 'delete_files.py'. Provide the path of the directory containing the images and path of the directory to store the files generated by the mindtct program. Make sure that mindtct in available on your path for this code to work correctly, if your don't want to add mindtct to yout path, provide the path in the file.
python minutiae_dtct.py -p <path to image files> -s <location to save>
This Python file will generate partial fingerprints of size 150x150 from the images of a given directory. Partial fingerprints will be generated with a 50% overlap, to change this, change the value of overlap variable, in fractions. Provide a path to the original image directory and a path to location to save the images. The partial images are saved with the same name as the original image follwed by RxC, where R is the row from which the partial image is created and C is the column. For more detail see here.
python generate_partial_fp.py -p <path to full image files> -s <location to save>
This Python file takes a directory and matches xyt files, one by one, to all the xyt files in the directory. Thus, it is assumed that the path given has only xyt files. The result of the bozorth3 comparison is displayed as the output on the terminal, to save the result to a text file for processing, use the '>>' operator to append the output.
python run_bozorth3.py -p <path to xyt files> >> result.txt
This file deletes all other formats generated by the mindtct tool on NBIS, it only keeps those formats that are present in the 'formats' set. It also removes those .xyt files that have minutiae<10. Provide the path to the xyt files.
python delete_files.py -p PATH [-x] [-l] [-b]
-x : to remove files of other all formats except '.xyt'.
-l : to remove files of less than X minutiae, X can be changed from the code.
-b : to do both the above tasks one after another.
This Python file deletes the all the partial image in a directory that have less than 10 minutiaes using its corresponding xyt file.
python delete_useless_splits.py -x <path to xyt directory> -i <path to image directory>