[
https://issues.apache.org/jira/browse/BEAM-9247?focusedWorklogId=392549&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-392549
]
ASF GitHub Bot logged work on BEAM-9247:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Feb/20 13:31
Start Date: 25/Feb/20 13:31
Worklog Time Spent: 10m
Work Description: kamilwu commented on issue #10959: [BEAM-9247]
Integrate GCP Vision API functionality
URL: https://github.com/apache/beam/pull/10959#issuecomment-590867589
> If you think that batches of <=5 items are useful, then perhaps we should
go with sync (online) batch annotation rather than async.
I don't see any obstacles.
Also take a look at `BatchElements` built-in PTransform (to be found at
`sdks/python/apache_beam/transforms/util.py`), which could be useful in our
case. This transform consumes a PCollection of element type T and produces a
PCollection of type List[T]. The maximum size of the list can be configured by
setting a `max_batch_size` parameter. This would speed things up a bit: it's
much better to send one request with 5 files than 5 separate requests.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 392549)
Time Spent: 2h 40m (was: 2.5h)
> [Python] PTransform that integrates Cloud Vision functionality
> --------------------------------------------------------------
>
> Key: BEAM-9247
> URL: https://issues.apache.org/jira/browse/BEAM-9247
> Project: Beam
> Issue Type: Sub-task
> Components: io-py-gcp
> Reporter: Kamil Wasilewski
> Assignee: Elias Djurfeldt
> Priority: Major
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> The goal is to create a PTransform that integrates Google Cloud Vision API
> functionality [1].
> [1] https://cloud.google.com/vision/docs/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)