Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@regulaforensics/document-reader-webclient
Advanced tools
Readme
Documents recognition as easy as reading two bytes.
If you have any problems with or questions about this client, please contact us through a GitHub issue. You are invited to contribute new features, fixes, or updates, large or small; We are always thrilled to receive pull requests, and do our best to process them as fast as we can. See dev guide
npm install @regulaforensics/document-reader-webclient
Performing request:
import {DocumentReaderApi, TextFieldType, GraphicFieldType} from '@regulaforensics/document-reader-webclient'
const {DOCUMENT_NUMBER, SURNAME_AND_GIVEN_NAMES, DATE_OF_BIRTH} = TextFieldType
const {PORTRAIT, SIGNATURE} = GraphicFieldType
const imageAsBase64String = getDocImageAsBase64String()
const api = new DocumentReaderApi({basePath: "http://localhost:8080"})
const result = await api.process({images: [imageAsBase64String]})
Parsing results:
// text fields
const docNumber = result.text.getField(DOCUMENT_NUMBER)
const fullName = result.text.getField(SURNAME_AND_GIVEN_NAMES)
const dateOfBirth = result.text.getField(DATE_OF_BIRTH)
// graphics fields
const portraitAsBase64 = result.images.getField(PORTRAIT)
const signatureAsBase64 = result.images.getField(SIGNATURE)
Language level
Module system
Definitions
package.json
. (Reference)FAQs
Regula Document Reader js client for the browser and node.js based on axios
We found that @regulaforensics/document-reader-webclient demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).