| :py:mod:`airflow.providers.google.cloud.example_dags.example_vision` |
| ==================================================================== |
| |
| .. py:module:: airflow.providers.google.cloud.example_dags.example_vision |
| |
| .. autoapi-nested-parse:: |
| |
| Example Airflow DAG that creates, gets, updates and deletes Products and Product Sets in the Google Cloud |
| Vision service. |
| |
| This DAG relies on the following OS environment variables |
| |
| * GCP_VISION_LOCATION - Zone where the instance exists. |
| * GCP_VISION_PRODUCT_SET_ID - Product Set ID. |
| * GCP_VISION_PRODUCT_ID - Product ID. |
| * GCP_VISION_REFERENCE_IMAGE_ID - Reference Image ID. |
| * GCP_VISION_REFERENCE_IMAGE_URL - A link to the bucket that contains the reference image. |
| * GCP_VISION_ANNOTATE_IMAGE_URL - A link to the bucket that contains the file to be annotated. |
| |
| |
| |
| Module Contents |
| --------------- |
| |
| .. py:data:: START_DATE |
| |
| |
| |
| |
| .. py:data:: GCP_VISION_LOCATION |
| |
| |
| |
| |
| .. py:data:: GCP_VISION_PRODUCT_SET_ID |
| |
| |
| |
| |
| .. py:data:: GCP_VISION_PRODUCT_ID |
| |
| |
| |
| |
| .. py:data:: GCP_VISION_REFERENCE_IMAGE_ID |
| |
| |
| |
| |
| .. py:data:: GCP_VISION_REFERENCE_IMAGE_URL |
| |
| |
| |
| |
| .. py:data:: GCP_VISION_ANNOTATE_IMAGE_URL |
| |
| |
| |
| |
| .. py:data:: product_set |
| |
| |
| |
| |
| .. py:data:: product |
| |
| |
| |
| |
| .. py:data:: reference_image |
| |
| |
| |
| |
| .. py:data:: annotate_image_request |
| |
| |
| |
| |
| .. py:data:: DETECT_IMAGE |
| |
| |
| |
| |
| .. py:data:: product_set_create |
| |
| |
| |
| |
| .. py:data:: product_set_create_2 |
| |
| |
| |
| |
| .. py:data:: annotate_image |
| |
| |
| |
| |