0.5.3 • Published 4 years ago

cordova-plugin-firebase-mlvision v0.5.3

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

cordova-plugin-firebase-mlvision

Cordova plugin for Firebase MLKit Vision

Installation

Run:

cordova plugin add cordova-plugin-firebase-mlvision --save

Usage

Text recognition

//FILE_URI: File URI or Base64 Format
FirebaseVisionPlugin.onDeviceTextRecognizer(FILE_URI,
    (text) => {
        console.log(text);
    },
    (error) => {
        console.error(error);;
    })
})

Barcode detector

//FILE_URI: File URI or Base64 Format
FirebaseVisionPlugin.barcodeDetector(FILE_URI,
    (json) => {
        console.log(json);
    },
    (error) => {
        console.error(error);;
    })
})

Image Labeler

//FILE_URI: File URI or Base64 Format
FirebaseVisionPlugin.imageLabeler(FILE_URI,
    (json) => {
        console.log(json);
    },
    (error) => {
        console.error(error);;
    })
})

Support

AndroidiOS
Text recognitionXX
Face detection
Barcode scanningXX
Image labelingXX
Object detection & tracking
Landmark recognition

Know Issues

iOS

Build iOS from command line failed in PhaseScriptExecution [CP] Copy Pods Resources

Running from Xcode work correctly

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

5 years ago

0.2.1

5 years ago