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 — Vision API should allow detecting multiple "feature types" in a single request · Issue #2769 · googleapis/google-cloud-python

Vision API should allow detecting multiple "feature types" in a single request #2769

New issue
Copy link
New issue
Copy link
Closed
Closed
Vision API should allow detecting multiple "feature types" in a single request#2769
Copy link
Assignees
daspecster
Labels
api: visionIssues related to the Cloud Vision API.

Description

@tswast
tswast
opened on Nov 23, 2016
Issue body actions

See: https://cloud.google.com/vision/pricing

Running "Explicit Content Detection" is free if done in the same request as "Label Detection". It appears from https://googlecloudplatform.github.io/google-cloud-python/stable/vision-usage.html that running image.detect_safe_search() immediately runs the request without having the chance to say I also want to run image. detect_labels() in the same HTTP request (to save money and an HTTP round-trip).

Activity

  1. tswast
    added
    api: visionIssues related to the Cloud Vision API.
    on Nov 23, 2016
  2. daspecster
    self-assigned this
    on Nov 24, 2016
  3. daspecster commented on Nov 24, 2016

    @daspecster
    daspecster
    on Nov 24, 2016
    Contributor
    More actions

    Thanks for letting me know!

    @tswast, we generally call this "batching" in the library. It should be in shortly after a refactor for adding manual detect().

    This can be tracked in #2753.

    I actually should have the PR for detect() tonight and then I think I have a good plan for batching as well.

    Reacted by Tim Sweña (Swast)
  4. daspecster commented on Dec 21, 2016

    @daspecster
    daspecster
    on Dec 21, 2016
    Contributor
    More actions

    I guess I used the wrong syntax for Closes in the PR.

    https://help.github.com/articles/closing-issues-via-commit-messages/#closing-multiple-issues

  5. daspecster
    closed this as completedon Dec 21, 2016
  6. ilsePit commented on Jan 4, 2018

    @ilsePit
    ilsePit
    on Jan 4, 2018
    More actions

    Is this also possible in the new version (v0.25.1 and up)? I cannot find this functionality in the documentation.

  7. ilsePit
    unassigned
    daspecster
    on Jan 4, 2018
  8. JustinBeckwith
    assigned
    daspecster
    on Feb 1, 2021
  9. parthea
    added 2 commits that reference this issue on Oct 21, 2023

    Translate: migrate published glossaries samples [(#2769)](GoogleCloud…

    dfcb555

    feat!: migrate API to microgenerator (#31)

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

Metadata

Metadata

Assignees

  • @daspecster
    daspecster

Labels

api: visionIssues related to the Cloud Vision API.

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.