| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| _topicality = None | ||
| _bounding_poly = None | ||
| _locations = [] | ||
| _properties = [] |
vc.annotate(f.read(), 'LABEL_DETECTION', 3) I'd prefer constants over strings, even if they semantically mean the same thing: vc.annotate(f.read(), vision.LABEL_DETECTION, 3) |
Sorry, something went wrong.
| def as_dict(self): | ||
| return { | ||
| "image": self.image, | ||
| "features": self.features |
|
Rather than writing and dumping all this code, please draft a vision-usage.rst doc and we can discuss features before there is code. Once we agree on something, try to land them feature by feature so review doesn't become unmanageable. (e.g. you couldn't just sent a tiny PR with the Connection, then a tiny PR with the Client and then build up the client for each feature). (PS I know I "broke the rules" in #1772 however the entire API is contained in three methods so I did it "on purpose" / was aware it was a bit of a brain dump.) |
Sorry, something went wrong.
#1772 has have 70+ comments on it, which is a sign that we should've argued out the API surface first. :) |
Sorry, something went wrong.
|
@tseaver I totally agree and wish I had done that. |
Sorry, something went wrong.
|
Ok, I'll make a PR with just a vision-usage.rst and then we can talk about it there. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fairly rough and a lot of conversation to be had.
Examples to play with