FPrint.Image¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The height of the image |
||
r/w/co |
The width of the image |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class FPrint.Image(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(width, height)¶
- Parameters:
- Return type:
- detect_minutiae(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to call on completion
Detects the minutiae found in an image.
- detect_minutiae_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – AGio.AsyncResult
- Raises:
- Returns:
True
on success- Return type:
Finish minutiae detection in an image
- get_binarized()¶
- Returns:
The binarized image data
- Return type:
Gets the binarized data for an image. This data must not be modified or freed. You need to first detect the minutiae using
FPrint.Image.detect_minutiae
().
- get_data()¶
- Returns:
The image data
- Return type:
Gets the greyscale data for an image. This data must not be modified or freed.
- get_minutiae()¶
- Returns:
The detected minutiae
- Return type:
Gets the minutiae for an image. This data must not be modified or freed. You need to first detect the minutiae using
FPrint.Image.detect_minutiae
().
- get_ppmm()¶
- Returns:
the resolution of the image in points per millimeter
- Return type:
Gets the resolution of the image. Note that this is assumed to be fixed to 500 points per inch (~19.685 p/mm) for most drivers.
Property Details¶
- FPrint.Image.props.height¶
- Name:
height
- Type:
- Default Value:
0
- Flags:
The height of the image
- FPrint.Image.props.width¶
- Name:
width
- Type:
- Default Value:
0
- Flags:
The width of the image