Smart Zoom

Pan and Zoom to cover specific objects detected by any AI model

Overview

The Smart Zoom node allows for panning and zooming to cover specific objects detected by any AI model. This functionality is crucial for applications requiring focused attention on particular objects within a video frame.

Properties

PropertyDescriptionTypeDefaultRequired
object_typesObjects to focus on. ex. car,person,face.mask. Use the object_label.class_label format for objects that also have a specific class.model-labelnullNo
zoom_adjust_speedZoom adjust speed. Slider min: 0, max: 100. Larger is faster.slider10No
zoom_adjust_thresholdDon't adjust zoom unless a new zoom window differs from current one by more than this percentage. Slider min: 0, max: 100.slider15No
zoom_reset_intervalReset zoom if no objects matching type are seen for this time. Slider min: 0, max: 100.slider15No

Output Metadata

This node does not explicitly output metadata but affects the zoom level of the video stream based on detected objects.