use CoreML
npm install capacitor-plugin-coremluse CoreML
``bash`
npm install capacitor-plugin-coreml
npx cap sync
* compile(...)
* download(...)
* echo(...)
* load(...)
* prediction(...)
`typescript`
compile(options: { value: string; }) => Promise
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<any>
--------------------
`typescript`
download(options: { value: string; }) => Promise
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<any>
--------------------
`typescript`
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
--------------------
`typescript`
load(options: { value: string; }) => Promise
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<any>
--------------------
`typescript`
prediction(options: { value: string; }) => Promise
| Param | Type |
| ------------- | ------------------------------- |
| options` | { value: string; } |
Returns: Promise<any>
--------------------