From a1f36c71c9063a5ec179acb2cfbcc56206ba2e4f Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Thu, 11 Feb 2016 00:14:47 -0800 Subject: [PATCH] upeksonly: decrease bz3_threshold for 147e:1001 Its width is only 216 pixels, and it appears not to be enough for matching at default threshold. --- libfprint/drivers/upeksonly.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfprint/drivers/upeksonly.c b/libfprint/drivers/upeksonly.c index 44a9bb6..e4dce7c 100644 --- a/libfprint/drivers/upeksonly.c +++ b/libfprint/drivers/upeksonly.c @@ -1359,6 +1359,7 @@ static int dev_init(struct fp_img_dev *dev, unsigned long driver_data) case UPEKSONLY_1001: sdev->img_width = IMG_WIDTH_1001; upeksonly_driver.img_width = IMG_WIDTH_1001; + upeksonly_driver.bz3_threshold = 25; assembling_ctx.line_width = IMG_WIDTH_1001; break; case UPEKSONLY_2016: