aes2501: set partial flag on an image

Set partial flag to remove false minutiae at the perimeter of a scan
This commit is contained in:
Vasily Khoruzhick 2015-09-19 12:24:21 -07:00
parent c2a11c5918
commit 83f29dad9f

View file

@ -505,6 +505,7 @@ static void capture_read_strip_cb(struct libusb_transfer *transfer)
} }
img = fpi_assemble_frames(&assembling_ctx, img = fpi_assemble_frames(&assembling_ctx,
aesdev->strips, aesdev->strips_len); aesdev->strips, aesdev->strips_len);
img->flags |= FP_IMG_PARTIAL;
g_slist_free_full(aesdev->strips, g_free); g_slist_free_full(aesdev->strips, g_free);
aesdev->strips = NULL; aesdev->strips = NULL;
aesdev->strips_len = 0; aesdev->strips_len = 0;