diff --git a/README.en.md b/README.en.md index fd34b274b9cff7b9d11510ded7085939a03dac6b..2d460407ff49ab2ef5df3ca66afc8d8c83bb9de8 100644 --- a/README.en.md +++ b/README.en.md @@ -1,6 +1,6 @@ # Implementing On-Device Portrait Image Segmentation Based on MindSpore Lite ## Introduction -This example utilizes the ArkTS API provided by `@ohos.ai.mindSporeLite` to implement an "On-Device Portrait Image Segmentation and Composition" sample application. +This example utilizes the ArkTS API provided by `@ohos.ai.mindSporeLite` to implement an "On-Device Portrait Image Segmentation" sample application. ## Preview | Home Page | Album Page | Original Image Preview Page | Portrait Segmentation and Composition Results Page | diff --git a/README.md b/README.md index 17b93aceb71c327eb142ff0b2a1c8b05a5e11fdb..0f8bed4c6b05f445daa945b7e822c9b5e1c61ec5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 基于 MindSpore Lite 实现端侧人物图像分割 ## 介绍 -本示例基于`@ohos.ai.mindSporeLite`提供的ArkTS API,实现“端侧人物图像分割与合成”示例程序。 +本示例基于`@ohos.ai.mindSporeLite`提供的ArkTS API,实现“端侧人物图像分割”示例程序。 ## 效果预览 | 主页 | 相册页 | 原图预览页 | 人物图像分割合成结果页 | diff --git a/entry/src/main/ets/pages/ImageGenerate.ets b/entry/src/main/ets/pages/ImageGenerate.ets index 8b13a388a507407d9949a87907911925b156b39e..a6ce4c89a843d1d64c3a7964b69cb5905d708671 100644 --- a/entry/src/main/ets/pages/ImageGenerate.ets +++ b/entry/src/main/ets/pages/ImageGenerate.ets @@ -329,7 +329,7 @@ export struct ImageGenerate { left: 16, right: 16 }) - .objectFit(ImageFit.Fill) + .objectFit(ImageFit.Contain) } .width("100%") .height(480)