examples: add img-capture example

This one can be useful in scripts, e.g. for building fingerprint
dataset.
This commit is contained in:
Vasily Khoruzhick
2020-06-06 23:04:26 -07:00
parent 4b2816db64
commit fd2875aa3e
4 changed files with 189 additions and 2 deletions

View File

@@ -180,7 +180,7 @@ print_create_template (FpDevice *dev, FpFinger finger)
}
static gboolean
gboolean
save_image_to_pgm (FpImage *img, const char *path)
{
FILE *fd = fopen (path, "w");