GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Can this be edited to use on Android? · Issue #469 · GoogleCloudPlatform/java-docs-samples

Can this be edited to use on Android? #469

New issue
Copy link
New issue
Copy link
Closed
Closed
Can this be edited to use on Android?#469
Copy link
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@Limoncool
Limoncool
opened on Dec 24, 2016
Issue body actions

I want to use Text Detection in an android app just like the sample of Mobile Label Detection app do, but change Label Detection to Text Detection. Can this sample be edited to be able to use in Android? Or just import some libraries? Thanks.

Activity

  1. tswast commented on Dec 27, 2016

    @tswast
    tswast
    on Dec 27, 2016
    Contributor
    More actions

    @Limoncool Yes, you should be able to use the text detection feature from the Android sample. See: https://github.com/GoogleCloudPlatform/cloud-vision/tree/master/android for the latest code for the Cloud Vision Android sample.

    You will need to change the model used:
    https://github.com/GoogleCloudPlatform/cloud-vision/blob/e07f7415d551d43c2507e82c1f2cc19d31dabd08/android/CloudVision/app/src/main/java/com/google/sample/cloudvision/MainActivity.java#L243
    and then also change the response handling to get the text annotations instead of label annotations:
    https://developers.google.com/resources/api-libraries/documentation/vision/v1/java/latest/com/google/api/services/vision/v1/model/AnnotateImageResponse.html#getTextAnnotations()

    This is the library to use:
    https://developers.google.com/api-client-library/java/apis/vision/v1
    but I recommend downloading the whole cloud-vision sample since it also sets some headers to use API keys that are limited to your app.

  2. tswast
    closed this as completedon Dec 27, 2016
  3. tswast
    added a commit that references this issue on Dec 27, 2016

    Add link to the Android sample.

    fb625d0
  4. puneith commented on Dec 27, 2016

    @puneith
    puneith
    on Dec 27, 2016
    Contributor
    More actions

    @tswast What do you mean we should mention the Android sample? In the docs links?

  5. tswast commented on Dec 27, 2016

    @tswast
    tswast
    on Dec 27, 2016
    Contributor
    More actions

    I mean In the READMEs in this Java samples repo.

  6. puneith commented on Dec 27, 2016

    @puneith
    puneith
    on Dec 27, 2016
    Contributor
    More actions

    I am confused a bit. We have a separate repo for Android for NL. So, are you suggesting that we clarify in the README in this repo that there is a separate Android link?

  7. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  8. minherz
    added 3 commits that reference this issue on Nov 9, 2022

    chore: release 0.120.19 (#469)

    2603ac8

    chore: release 0.120.19 (#469)

    a2569f0

    chore: release 0.120.19 (#469)

    704bcbb
  9. Shabirmean
    added a commit that references this issue on Nov 11, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#…

    526c6e4
  10. Sita04
    added a commit that references this issue on Nov 11, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    8888c86
  11. charlieyu1996
    added a commit that references this issue on Nov 15, 2022

    test(deps): update dependency com.google.truth:truth to v1.1.3 (#469)

    a610095
  12. Shabirmean
    added 2 commits that reference this issue on Nov 17, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    4e48317

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    089926b
  13. charlieyu1996
    added a commit that references this issue on Nov 18, 2022

    merge from main to datacatalog branch (#7449)

    361657a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.