For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gaze Detection

Detect faces and estimate gaze direction (deprecated).

DEPRECATED. L2CS Gaze detection has been removed from inference along with the MediaPipe dependency. Invoking this block raises FeatureDeprecatedError (HTTP 410 Gone).

Type identifier

Use the following identifier in step "type" field: roboflow_core/gaze@v1 to add the block as a step in your workflow.

Properties

Name

Type

Description

Refs

name

str

Enter a unique identifier for this step..

do_run_face_detection

bool

Whether to run face detection. Set to False if input images are pre-cropped face images..

The Refs column marks possibility to parametrise the property with dynamic values available in workflow runtime. See Bindings for more info.

Runtime compatibility

hard - runtime self_hosted_cpu; execution local : Requires a GPU; run_locally() loads a model that needs CUDA.

Input and Output Bindings

The available connections depend on its binding kinds. Check what binding kinds Gaze Detection in version v1 has.

Input and output bindings
  • input

    • images (image): The image to infer on..

    • do_run_face_detection (boolean): Whether to run face detection. Set to False if input images are pre-cropped face images..

  • output

    • face_predictions (keypoint_detection_prediction): Prediction with detected bounding boxes and detected keypoints in form of sv.Detections(...) object.

    • yaw_degrees (float): Float value.

    • pitch_degrees (float): Float value.

Example JSON definition

Last updated

Was this helpful?