Reference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::StreamAnnotationType.
Enum describing all possible types of a stream annotation.
Constants
STREAM_ANNOTATION_TYPE_UNSPECIFIED
value: 0 Type UNSPECIFIED.
STREAM_ANNOTATION_TYPE_ACTIVE_ZONE
value: 1 active_zone annotation defines a polygon on top of the content from an
image/video based stream, following processing will only focus on the
content inside the active zone.
STREAM_ANNOTATION_TYPE_CROSSING_LINE
value: 2 crossing_line annotation defines a polyline on top of the content from an
image/video based Vision AI stream, events happening across the line will
be captured. For example, the counts of people who goes acroos the line
in Occupancy Analytic Processor.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Vision AI V1 API - Module Google::Cloud::VisionAI::V1::StreamAnnotationType (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-StreamAnnotationType)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-StreamAnnotationType)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-StreamAnnotationType)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-StreamAnnotationType)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-StreamAnnotationType)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-StreamAnnotationType)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-StreamAnnotationType) \nReference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::StreamAnnotationType.\n\nEnum describing all possible types of a stream annotation.\n\nConstants\n---------\n\n### STREAM_ANNOTATION_TYPE_UNSPECIFIED\n\n**value:** 0 \nType UNSPECIFIED.\n\n### STREAM_ANNOTATION_TYPE_ACTIVE_ZONE\n\n**value:** 1 \nactive_zone annotation defines a polygon on top of the content from an\nimage/video based stream, following processing will only focus on the\ncontent inside the active zone.\n\n### STREAM_ANNOTATION_TYPE_CROSSING_LINE\n\n**value:** 2 \ncrossing_line annotation defines a polyline on top of the content from an\nimage/video based Vision AI stream, events happening across the line will\nbe captured. For example, the counts of people who goes acroos the line\nin Occupancy Analytic Processor."]]