@capacitor-mlkit/selfie-segmentation 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -2
- package/android/build.gradle +1 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -4,10 +4,14 @@ Unofficial Capacitor plugin for [ML Kit Selfie Segmentation](https://developers.
|
|
|
4
4
|
|
|
5
5
|
<div class="capawesome-z29o10a">
|
|
6
6
|
<a href="https://cloud.capawesome.io/" target="_blank">
|
|
7
|
-
<img alt="Deliver Live Updates to your Capacitor app with Capawesome Cloud" src="https://cloud.capawesome.io/assets/banners/cloud-
|
|
7
|
+
<img alt="Deliver Live Updates to your Capacitor app with Capawesome Cloud" src="https://cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.png?t=1" />
|
|
8
8
|
</a>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
|
+
## Newsletter
|
|
12
|
+
|
|
13
|
+
Stay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).
|
|
14
|
+
|
|
11
15
|
## Compatibility
|
|
12
16
|
|
|
13
17
|
| Plugin Version | Capacitor Version | Status |
|
|
@@ -18,6 +22,21 @@ Unofficial Capacitor plugin for [ML Kit Selfie Segmentation](https://developers.
|
|
|
18
22
|
|
|
19
23
|
## Installation
|
|
20
24
|
|
|
25
|
+
You can use our **AI-Assisted Setup** to install the plugin.
|
|
26
|
+
Add the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx skills add capawesome-team/skills --skill capacitor-plugins
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Then use the following prompt:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Use the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capacitor-mlkit/selfie-segmentation` plugin in my project.
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
If you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:
|
|
39
|
+
|
|
21
40
|
```bash
|
|
22
41
|
npm install @capacitor-mlkit/selfie-segmentation
|
|
23
42
|
npx cap sync
|
|
@@ -55,7 +74,7 @@ A working example can be found here: [robingenz/capacitor-mlkit-plugin-demo](htt
|
|
|
55
74
|
|
|
56
75
|
| Android | iOS |
|
|
57
76
|
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
58
|
-
| <img src="https://github.com/capawesome-team/capacitor-mlkit/assets/13857929/1cef9ea9-570e-47d9-a751-d778535ffdff" width="324" /> | <img src="https://github.com/capawesome-team/capacitor-mlkit/assets/13857929/b9caa88c-31b9-4a25-a731-961625207af4" width="324" /> |
|
|
77
|
+
| <img src="https://github.com/capawesome-team/capacitor-mlkit/assets/13857929/1cef9ea9-570e-47d9-a751-d778535ffdff" width="324" alt="Android demo of the Selfie Segmentation plugin" /> | <img src="https://github.com/capawesome-team/capacitor-mlkit/assets/13857929/b9caa88c-31b9-4a25-a731-961625207af4" width="324" alt="iOS demo of the Selfie Segmentation plugin" /> |
|
|
59
78
|
|
|
60
79
|
## Usage
|
|
61
80
|
|
package/android/build.gradle
CHANGED
|
@@ -31,7 +31,7 @@ android {
|
|
|
31
31
|
buildTypes {
|
|
32
32
|
release {
|
|
33
33
|
minifyEnabled false
|
|
34
|
-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
34
|
+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
lintOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor-mlkit/selfie-segmentation",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "Capacitor plugin for ML Kit Selfie Segmentation.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
"@capacitor/docgen": "0.3.1",
|
|
63
63
|
"@capacitor/ios": "8.0.0",
|
|
64
64
|
"@ionic/eslint-config": "0.4.0",
|
|
65
|
-
"@ionic/swiftlint-config": "2.0.0",
|
|
66
65
|
"eslint": "8.57.0",
|
|
67
66
|
"prettier": "3.4.2",
|
|
68
67
|
"prettier-plugin-java": "2.6.7",
|
|
@@ -74,7 +73,6 @@
|
|
|
74
73
|
"peerDependencies": {
|
|
75
74
|
"@capacitor/core": ">=8.0.0"
|
|
76
75
|
},
|
|
77
|
-
"swiftlint": "@ionic/swiftlint-config",
|
|
78
76
|
"eslintConfig": {
|
|
79
77
|
"extends": "@ionic/eslint-config/recommended"
|
|
80
78
|
},
|