Biometric Authentication can be various types. One of them is palmprint authentication.
Though there are multiple available datasets on the internet (e.g. PolyU multi-spectral palmprint database , PolyU 2D+3D palmprint database etc. ) But I found out a clear photograph working more accurate in this model . As the FAR and FRR of ROI has decreased with a clear picture.
So,to test and train this model I created a dataset of 1050 palm images (both palm) , where a total of 26 people participated voluntarily in diffrent sessions. Since those data are sensitive I've not uploaded the dataset in the github repository. I have uploaded here a sample picture for the reference (Source: Freepik.com).
Note: All of the picture should contain palm center, principle lines, flexor liness, datum points, wrinkles , ridges and may contain fingers. Also all the picture should be taken in dark background, where anyother object is not visible.
Region of Interest (ROI) Segmentation:
The acquired images often contain redundant information such as fingers and background. Palmprint ROI refers to the palm center that contains three flexor lines. Since the size and shape of every hand is generally different from each other , there may exists a rotation between them, it is necessary to correct the scale and angle of the palmprint image before ROI segmentation.
Scale Correction:
The key point lying in the original image with a size ofΒ πΓπΒ is denoted as π·_π (π_π,π_π ) [π=π,π,π]Β .Β The corresponding position for testing image is a size of π^β²Γπ^β²Β Β is denoted asΒ π·_π^β² (π_π^β²,π_π^β² ) [π=π,π,π]Β .Β Then, the transformation can be defined as {β(π₯_π^β²=π₯_πΓ(π€^β²/π€)@π¦_π^β²=π¦_πΓ(β^β²/β) )β€
Rotation Correction:
The purpose of the rotation is to placeΒ π·_πΒ and π·_πΒ on a horizontal line to facilitate ROI segmentation. The calculation of the rotation angle is shown as follows:
π= tan^(β1)β‘(((π¦_3^β²βπ¦_1^β²))/((π₯_3^β²βπ₯_1^β²)))
whereΒ (π_π^β²,π_π^β²)Β andΒ (π_π^β²,π_π^β²)Β are the coordinates ofΒ π·_π^β² Β andΒ π·_π^β²,Β respectively. The corresponding coordinates after rotation are denoted as π·_π^β²β² (π_π^β²β²,π_π^β²β² ) [π=π,π,π]Β Β .Β We define the rotation transformation as follows:
{β(π₯_π^β²β²=[(π₯_1^β²βπ€^β²/2)Γcosβ‘(π/180Γπ)+(π¦_1^β²ββ^β²/2)Γsinβ‘(π/180Γπ)+π€^β²/2]@π¦_π^β²β²=[β1Γ(π₯_1^β²βπ€^β²/2)Γsinβ‘(π/180Γπ)+(π¦_1^β²ββ^β²/2)Γcosβ‘(π/180Γπ)+β^β²/2] )β€
Where [ ]Β reserves the integer value, while the lineΒ π·_π^β²β² π·_π^β²β² Β is set as theΒ x-axis, and its vertical line is set as theΒ y-axis. Then, the coordinate system is established in the palmprint image. The length ofΒ π·_π^β²β² π·_π^β²β² Β is denoted as π Β .Β Moving it down alongside theΒ y-axis by π /πΒ ,Β a square is built up with the side length of π