Giter VIP home page Giter VIP logo

hms-mlkit / huawei-hms-mlkit-sample Goto Github PK

View Code? Open in Web Editor NEW
69.0 3.0 36.0 10.78 MB

HUAWEI HMS meachine learning services demo apk download.

Home Page: https://developer.huawei.com/consumer/en/doc/development/HMS-Examples/ml-samplecode-4

License: Apache License 2.0

Java 99.90% Shell 0.10%
hms machine-learning face-recognition face-detection label classification huawei image-segmentation ocr document

huawei-hms-mlkit-sample's People

Contributors

chenjingming1 avatar gwwhuawei avatar hms-mlkit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

huawei-hms-mlkit-sample's Issues

人像分割的问题

在示例代码中,你们使用了自定义View的方式来显示分割的图像,我在换成OpenGl ES的时候,发现你们返回的标志mark数据不能直接使用,能具体说明一下mark的标志的大小和标记吗

[Discussion] About the git log message template

Current we are using the template like this:

[TicketNo:]
[Description:]
[Binary Source:]

It's useful if we can associate the issue number with the commit, but what if the commit doesn't have the issue number to add. My suggestion is add a single line of description for the commit after the [TicketNo:]. Just like this:

[TicketNo:] #8 Updated the git log message
[Description:] XXXXX
[Binary Source:] NA

Android 10 support

HMS kit is not working on Android 10.
With following error

Installation did not succeed.
The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS
Installation failed due to: 'null'

Please try to include the service for android 10

Cloud Text Recognition don't work

I get an "urlList is empty, failed to detect cloud text" error when I try to recognize the text from the Album right in your sample code.
Please fix it

Add CI

Add CI build and check the correctness of the merged code.

Is there any official label for segmentation?

    private int[] byteArrToIntArr(byte[] masks) {
        int[] results = new int[masks.length];
        for (int i = 0; i < masks.length; i++) {
            if (masks[i] == 1) {
                results[i] = Color.BLACK;
            } else if (masks[i] == 2) {
                results[i] = Color.BLUE;
            } else if (masks[i] == 3) {
                results[i] = Color.DKGRAY;
            } else if (masks[i] == 4) {
                results[i] = Color.YELLOW;
            } else if (masks[i] == 5) {
                results[i] = Color.LTGRAY;
            } else if (masks[i] == 6) {
                results[i] = Color.CYAN;
            } else if (masks[i] == 7) {
                results[i] = Color.RED;
            } else if (masks[i] == 8) {
                results[i] = Color.GRAY;
            } else if (masks[i] == 9) {
                results[i] = Color.MAGENTA;
            } else if (masks[i] == 10) {
                results[i] = Color.GREEN;
            } else {
                results[i] = Color.WHITE;
            }
        }
        return results;
    }

What the numbers 1-10 represent?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.