From 83f29dad9f42f4cae53c4d130ca792d25e6468c3 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Sat, 19 Sep 2015 12:24:21 -0700 Subject: [PATCH] aes2501: set partial flag on an image Set partial flag to remove false minutiae at the perimeter of a scan --- libfprint/drivers/aes2501.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c index 426bd9e..8729740 100644 --- a/libfprint/drivers/aes2501.c +++ b/libfprint/drivers/aes2501.c @@ -505,6 +505,7 @@ static void capture_read_strip_cb(struct libusb_transfer *transfer) } img = fpi_assemble_frames(&assembling_ctx, aesdev->strips, aesdev->strips_len); + img->flags |= FP_IMG_PARTIAL; g_slist_free_full(aesdev->strips, g_free); aesdev->strips = NULL; aesdev->strips_len = 0;