.NET SDK Documentation

    Show / Hide Table of Contents

    Class VisionComponent

    Utility methods for Vector’s vision

    Vector’s can detect various types of objects through his camera feed.

    Inheritance
    Object
    RobotObject
    Component
    VisionComponent
    Implements
    INotifyPropertyChanged
    Inherited Members
    RobotObject.PropertyChanged
    Namespace: Anki.Vector
    Assembly: Anki.Vector.dll
    Syntax
    public class VisionComponent : Component, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    CustomObjectDetectionEnabled

    Gets a value indicating whether custom object detection is enabled

    public bool CustomObjectDetectionEnabled { get; }
    Property Type
    Boolean
    | Improve this Doc View Source

    FaceDetectionEnabled

    Gets a value indicating whether face detection is enabled

    public bool FaceDetectionEnabled { get; }
    Property Type
    Boolean
    | Improve this Doc View Source

    MirrorModeEnabled

    Gets a value indicating whether mirror mode is enabled

    public bool MirrorModeEnabled { get; }
    Property Type
    Boolean
    | Improve this Doc View Source

    MotionDetectionEnabled

    Gets a value indicating whether motion detection is enabled

    public bool MotionDetectionEnabled { get; }
    Property Type
    Boolean

    Methods

    | Improve this Doc View Source

    DisableAllVisionModes()

    Closes all the running vision modes and waits for a response.

    public Task DisableAllVisionModes()
    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    | Improve this Doc View Source

    DisableCustomObjectDetection()

    Disables the custom object detection.

    public Task<StatusCode> DisableCustomObjectDetection()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    DisableFaceDetection()

    Disables face detection on the robot’s camera

    public Task<StatusCode> DisableFaceDetection()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    DisableMirrorMode()

    Disables display of the robot’s camera feed on its face along with any detections (if enabled)

    public Task<StatusCode> DisableMirrorMode()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    DisableMotionDetection()

    Disabled motion detection (not tested).

    public Task<StatusCode> DisableMotionDetection()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    EnableCustomObjectDetection()

    Enables the custom object detection.

    public Task<StatusCode> EnableCustomObjectDetection()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    EnableFaceDetection(Boolean)

    Enable face detection on the robot’s camera

    public Task<StatusCode> EnableFaceDetection(bool estimateEspression = false)
    Parameters
    Type Name Description
    Boolean estimateEspression

    if set to true to estimate expression.

    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    EnableMirrorMode()

    Enables display of the robot’s camera feed on its face along with any detections (if enabled)

    public Task<StatusCode> EnableMirrorMode()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    | Improve this Doc View Source

    EnableMotionDetection()

    Enables motion detection (not tested).

    public Task<StatusCode> EnableMotionDetection()
    Returns
    Type Description
    Task<StatusCode>

    A task that represents the asynchronous operation. The task result contains the result of the operation.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • CustomObjectDetectionEnabled
      • FaceDetectionEnabled
      • MirrorModeEnabled
      • MotionDetectionEnabled
    • Methods
      • DisableAllVisionModes()
      • DisableCustomObjectDetection()
      • DisableFaceDetection()
      • DisableMirrorMode()
      • DisableMotionDetection()
      • EnableCustomObjectDetection()
      • EnableFaceDetection(Boolean)
      • EnableMirrorMode()
      • EnableMotionDetection()
    • Implements
    Back to top Copyright (c) 2019 by Wayne Venables