Skip to content

yelrom0/ml-capacitor-plugin

Repository files navigation

ml-capacitor-plugin

Machine Learning Mobile Plugin for Capacitor using Pytorch and/or Tensorflow

Don't install this plugin yet. It's still in early development.

Install

npm install ml-capacitor-plugin
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


loadImage()

loadImage() => Promise<{ imageStr: string; }>

Returns: Promise<{ imageStr: string; }>