Skip to content

This sample code is to guide the developer how to integrate the Image Vision Sub-service of the Image Kit, calling the image filter function. This sub-service provides 24 unique filter effects to enhance the artistic conception and artistic sense of the images.

License

HMS-Core/hms-image-vision-java

Repository files navigation

HUAWEI Image Kit Vision Sample for Java

English | 中文

Table of Contents

Introduction

The Image Vision service : 1.Provides you with 24 color filters for scene-specific smart design. 2.Implements smart layout of images and texts for efficient content production. 3.Provides the sticker and text art function for image DIY. 4.Implements theme tagging for images and objects in images for convenient retrieval. 5.Implements image cropping for users to resize images.

Getting Started

  1. Check whether the Android studio development environment is ready. Open the sample code project directory with file "build.gradle" in Android Studio. Run TestApp on your divice or simulator which have installed latest Huawei Mobile Service(HMS).
  2. Register a HUAWEI account.
  3. Create an app and configure the app information in AppGallery Connect. See details: HUAWEI Image Service Development Preparation
  4. To build this demo, please first import the demo in the Android Studio (3.x+).
  5. Run the sample on your Android device or emulator.

Supported Environments

  • Android Studio 3.0 or later.

  • Java SDK 1.8 or later.

  • Android SDK version is 26 or later.

  • Gradle 3.3.2.

  • HMS Core (APK) 4.0.2.300 or later.

Result

Main Activity

Filter

Layout

ThemeTag

Sticker

Crop

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

License

ImageVisionSample is licensed under the Apache License, version 2.0.

About

This sample code is to guide the developer how to integrate the Image Vision Sub-service of the Image Kit, calling the image filter function. This sub-service provides 24 unique filter effects to enhance the artistic conception and artistic sense of the images.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages