Title: [Vision] add a new function 'detect_all' in image.py · Issue #3771 · googleapis/google-cloud-python · GitHub
Open Graph Title: [Vision] add a new function 'detect_all' in image.py · Issue #3771 · googleapis/google-cloud-python
X Title: [Vision] add a new function 'detect_all' in image.py · Issue #3771 · googleapis/google-cloud-python
Description: There is a function detect in image.py for detecting multiple feature types. Could we add a function called detect_all to detect all feature types at one time? This is my proposal: def detect_all(self, limit=10): """Detect multiple featu...
Open Graph Description: There is a function detect in image.py for detecting multiple feature types. Could we add a function called detect_all to detect all feature types at one time? This is my proposal: def detect_all(s...
X Description: There is a function detect in image.py for detecting multiple feature types. Could we add a function called detect_all to detect all feature types at one time? This is my proposal: def detect_all(s...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3771
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Vision] add a new function 'detect_all' in image.py","articleBody":"There is a function `detect` in image.py for detecting multiple feature types. Could we add a function called `detect_all` to detect all feature types at one time? This is my proposal:\r\n\r\n```python\r\n def detect_all(self, limit=10):\r\n \"\"\"Detect multiple feature types.\r\n\r\n :type limit: int\r\n :param limit: The number of faces to try and detect.\r\n\r\n :rtype: list\r\n :returns: List of\r\n :class:`~google.cloud.vision.entity.EntityAnnotation`.\r\n \"\"\"\r\n\r\n features = [Feature(x, limit) for x in FeatureTypes.__dict__.keys() if x[:1] != '_']\r\n annotations = self.detect(features)\r\n return annotations[0]\r\n``` ","author":{"url":"https://github.com/bryanyang0528","@type":"Person","name":"bryanyang0528"},"datePublished":"2017-08-09T12:20:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3771/google-cloud-python/issues/3771"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:25a6953a-fe0e-a90b-a505-606698013725 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88A2:34D869:83DA19:BAA7A8:6A4D18D0 |
| html-safe-nonce | 5121e2860e4772fc434942d08eee53d7ea61846af1f7dfda7e9fe28adcad2482 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEEyOjM0RDg2OTo4M0RBMTk6QkFBN0E4OjZBNEQxOEQwIiwidmlzaXRvcl9pZCI6Ijg0MjU5OTMyOTk3OTgzMzM2NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 04ef26cac510c26243c15284d7bf3c1b4cb1125808d63c79b86135a782efba0f |
| hovercard-subject-tag | issue:249012267 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/3771/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db69524714ebba9def1bd34de645757e15e6c91e2c35914660bd6688b6f2b998/googleapis/google-cloud-python/issues/3771 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db69524714ebba9def1bd34de645757e15e6c91e2c35914660bd6688b6f2b998/googleapis/google-cloud-python/issues/3771 |
| og:image:alt | There is a function detect in image.py for detecting multiple feature types. Could we add a function called detect_all to detect all feature types at one time? This is my proposal: def detect_all(s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bryanyang0528 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width