From c9cdbaf8803be8c9ca33029419f006deb55d7e88 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Sat, 19 Sep 2015 12:24:48 -0700 Subject: [PATCH] aes2550: set partial flag on an image Set partial flag to remove false minutiae at the perimeter of a scan --- libfprint/drivers/aes2550.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c index 822dbcd..965bdb0 100644 --- a/libfprint/drivers/aes2550.c +++ b/libfprint/drivers/aes2550.c @@ -264,6 +264,7 @@ static void capture_set_idle_reqs_cb(struct libusb_transfer *transfer) aesdev->strips = g_slist_reverse(aesdev->strips); 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;