New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@nativescript/mlkit-text-recognition

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/mlkit-text-recognition

NativeScript MLKit Text Recognition module

latest
Source
npmnpm
Version
3.0.4
Version published
Maintainers
2
Created
Source

@nativescript/mlkit-text-recognition

A plugin used with @nativescript/mlkit-core to enable Text Recognition in your app and provide TextResult type for the text recognition event data.

Contents

Installation

npm install @nativescript/mlkit-text-recognition

Use @nativescript/mlkit-text-recognition

For an example, read Use @nativescript/mlkit-core and Text Recognition.

API

TextResult

The Text Recognition event data type.

interface TextResult {
    text?: string
    bounds: Bounds
    lines: TextLine[]
    points: Point[]
}

Point

interface Point {
    x: number;
    y: number;
}

Bounds

interface Bounds {
    origin: Origin;
    size: Size;
}

Origin

interface Origin {
    x: number;
    y: number;
}

Size

interface Size {
    width: number;
    height: number;
}

TextLine

interface TextLine {
    text?: string
    bounds: Bounds
    elements: TextElement[]
    points?: Point[]
}

TextElement

interface TextElement {
    text?: string
    bounds: Bounds
}

License

Apache License Version 2.0

Keywords

NativeScript

FAQs

Package last updated on 23 Oct 2025

Did you know?

Socket

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.

Install

Related posts