The paper presents an optimized method for palm vein recognition using an improved diagonal vertical horizontal local binary pattern (dvhlbp) algorithm, addressing the limitations of traditional extrinsic biometrics. The study demonstrates that the optimized dvhlbp can achieve a false accepted rate (FAR) and false rejected rate (FRR) of 0.01, with an overall recognition accuracy of 99%. Various experimental scenarios are conducted to fine-tune parameters and validate the performance of the palm vein recognition system.