UNPKG

@digitalpersona/core

Version:
25 lines (14 loc) 615 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [FaceImage](./core.faceimage.md) &gt; [fromDataURL](./core.faceimage.fromdataurl.md) ## FaceImage.fromDataURL() method Extracts face image from a data URL. Only `data:image/jpeg;base64` is supported for now. <b>Signature:</b> ```typescript static fromDataURL(image: Base64String): FaceImage; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | image | <code>Base64String</code> | | <b>Returns:</b> `FaceImage`