mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
aes2550: set partial flag on an image
Set partial flag to remove false minutiae at the perimeter of a scan
This commit is contained in:
@@ -264,6 +264,7 @@ static void capture_set_idle_reqs_cb(struct libusb_transfer *transfer)
|
|||||||
aesdev->strips = g_slist_reverse(aesdev->strips);
|
aesdev->strips = g_slist_reverse(aesdev->strips);
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user