| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@tseaver, I cleaned this up so it should be ready to checkout as well. |
Sorry, something went wrong.
|
|
||
| @property | ||
| def red(self): | ||
| """Red color. |
| return self._red | ||
|
|
||
| @property | ||
| def green(self): |
| """ | ||
| return self._green | ||
|
|
||
| @property |
|
|
||
| :type red: int | ||
| :param red: The amount of red in the color as a value in the interval | ||
| [0, 1]. |
| :param color: RGB components of the color. | ||
|
|
||
| :type score: float | ||
| :param score: Image-specific score for this color. Value in range [0, 1]. |
| } | ||
| } | ||
| ] | ||
| } |
|
@tseaver, updated everything except the score docstring. That value is copied from their docs, but I can't seem to find a better explanation of it. |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
| Back | FazBrowse Home | New Git URL |
Based from #2319
Adds the image properties detection API for Vision.
This adds a fairly large ImagePropertiesAnnotation with several classes to absorb the color data in the response.
✅ Also after #2319 is merged I will clean up the weird commit history.