vision

package
v0.5.0-preview....-32e7360 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Apply computer vision algorithms to perform a variety of tasks on input images and video.

Apple Documentation

Index

Constants

This section is empty.

Variables

View Source
var BarcodeObservationClass = _BarcodeObservationClass{objc.GetClass("VNBarcodeObservation")}

The class instance for the BarcodeObservation class.

View Source
var CircleClass = _CircleClass{objc.GetClass("VNCircle")}

The class instance for the Circle class.

View Source
var ClassificationObservationClass = _ClassificationObservationClass{objc.GetClass("VNClassificationObservation")}

The class instance for the ClassificationObservation class.

View Source
var ClassifyImageRequestClass = _ClassifyImageRequestClass{objc.GetClass("VNClassifyImageRequest")}

The class instance for the ClassifyImageRequest class.

View Source
var ContourClass = _ContourClass{objc.GetClass("VNContour")}

The class instance for the Contour class.

View Source
var ContoursObservationClass = _ContoursObservationClass{objc.GetClass("VNContoursObservation")}

The class instance for the ContoursObservation class.

View Source
var CoreMLFeatureValueObservationClass = _CoreMLFeatureValueObservationClass{objc.GetClass("VNCoreMLFeatureValueObservation")}

The class instance for the CoreMLFeatureValueObservation class.

View Source
var CoreMLModelClass = _CoreMLModelClass{objc.GetClass("VNCoreMLModel")}

The class instance for the CoreMLModel class.

View Source
var CoreMLRequestClass = _CoreMLRequestClass{objc.GetClass("VNCoreMLRequest")}

The class instance for the CoreMLRequest class.

View Source
var DetectBarcodesRequestClass = _DetectBarcodesRequestClass{objc.GetClass("VNDetectBarcodesRequest")}

The class instance for the DetectBarcodesRequest class.

View Source
var DetectContoursRequestClass = _DetectContoursRequestClass{objc.GetClass("VNDetectContoursRequest")}

The class instance for the DetectContoursRequest class.

View Source
var DetectDocumentSegmentationRequestClass = _DetectDocumentSegmentationRequestClass{objc.GetClass("VNDetectDocumentSegmentationRequest")}

The class instance for the DetectDocumentSegmentationRequest class.

View Source
var DetectFaceCaptureQualityRequestClass = _DetectFaceCaptureQualityRequestClass{objc.GetClass("VNDetectFaceCaptureQualityRequest")}

The class instance for the DetectFaceCaptureQualityRequest class.

View Source
var DetectFaceLandmarksRequestClass = _DetectFaceLandmarksRequestClass{objc.GetClass("VNDetectFaceLandmarksRequest")}

The class instance for the DetectFaceLandmarksRequest class.

View Source
var DetectFaceRectanglesRequestClass = _DetectFaceRectanglesRequestClass{objc.GetClass("VNDetectFaceRectanglesRequest")}

The class instance for the DetectFaceRectanglesRequest class.

View Source
var DetectHorizonRequestClass = _DetectHorizonRequestClass{objc.GetClass("VNDetectHorizonRequest")}

The class instance for the DetectHorizonRequest class.

View Source
var DetectHumanBodyPoseRequestClass = _DetectHumanBodyPoseRequestClass{objc.GetClass("VNDetectHumanBodyPoseRequest")}

The class instance for the DetectHumanBodyPoseRequest class.

View Source
var DetectHumanHandPoseRequestClass = _DetectHumanHandPoseRequestClass{objc.GetClass("VNDetectHumanHandPoseRequest")}

The class instance for the DetectHumanHandPoseRequest class.

View Source
var DetectHumanRectanglesRequestClass = _DetectHumanRectanglesRequestClass{objc.GetClass("VNDetectHumanRectanglesRequest")}

The class instance for the DetectHumanRectanglesRequest class.

View Source
var DetectRectanglesRequestClass = _DetectRectanglesRequestClass{objc.GetClass("VNDetectRectanglesRequest")}

The class instance for the DetectRectanglesRequest class.

View Source
var DetectTextRectanglesRequestClass = _DetectTextRectanglesRequestClass{objc.GetClass("VNDetectTextRectanglesRequest")}

The class instance for the DetectTextRectanglesRequest class.

View Source
var DetectTrajectoriesRequestClass = _DetectTrajectoriesRequestClass{objc.GetClass("VNDetectTrajectoriesRequest")}

The class instance for the DetectTrajectoriesRequest class.

View Source
var DetectedObjectObservationClass = _DetectedObjectObservationClass{objc.GetClass("VNDetectedObjectObservation")}

The class instance for the DetectedObjectObservation class.

View Source
var DetectedPointClass = _DetectedPointClass{objc.GetClass("VNDetectedPoint")}

The class instance for the DetectedPoint class.

View Source
var FaceLandmarkRegion2DClass = _FaceLandmarkRegion2DClass{objc.GetClass("VNFaceLandmarkRegion2D")}

The class instance for the FaceLandmarkRegion2D class.

View Source
var FaceLandmarkRegionClass = _FaceLandmarkRegionClass{objc.GetClass("VNFaceLandmarkRegion")}

The class instance for the FaceLandmarkRegion class.

View Source
var FaceLandmarks2DClass = _FaceLandmarks2DClass{objc.GetClass("VNFaceLandmarks2D")}

The class instance for the FaceLandmarks2D class.

View Source
var FaceLandmarksClass = _FaceLandmarksClass{objc.GetClass("VNFaceLandmarks")}

The class instance for the FaceLandmarks class.

View Source
var FaceObservationClass = _FaceObservationClass{objc.GetClass("VNFaceObservation")}

The class instance for the FaceObservation class.

View Source
var FeaturePrintObservationClass = _FeaturePrintObservationClass{objc.GetClass("VNFeaturePrintObservation")}

The class instance for the FeaturePrintObservation class.

View Source
var GenerateAttentionBasedSaliencyImageRequestClass = _GenerateAttentionBasedSaliencyImageRequestClass{objc.GetClass("VNGenerateAttentionBasedSaliencyImageRequest")}

The class instance for the GenerateAttentionBasedSaliencyImageRequest class.

View Source
var GenerateImageFeaturePrintRequestClass = _GenerateImageFeaturePrintRequestClass{objc.GetClass("VNGenerateImageFeaturePrintRequest")}

The class instance for the GenerateImageFeaturePrintRequest class.

View Source
var GenerateObjectnessBasedSaliencyImageRequestClass = _GenerateObjectnessBasedSaliencyImageRequestClass{objc.GetClass("VNGenerateObjectnessBasedSaliencyImageRequest")}

The class instance for the GenerateObjectnessBasedSaliencyImageRequest class.

View Source
var GenerateOpticalFlowRequestClass = _GenerateOpticalFlowRequestClass{objc.GetClass("VNGenerateOpticalFlowRequest")}

The class instance for the GenerateOpticalFlowRequest class.

View Source
var GeneratePersonSegmentationRequestClass = _GeneratePersonSegmentationRequestClass{objc.GetClass("VNGeneratePersonSegmentationRequest")}

The class instance for the GeneratePersonSegmentationRequest class.

View Source
var GeometryUtilsClass = _GeometryUtilsClass{objc.GetClass("VNGeometryUtils")}

The class instance for the GeometryUtils class.

View Source
var HomographicImageRegistrationRequestClass = _HomographicImageRegistrationRequestClass{objc.GetClass("VNHomographicImageRegistrationRequest")}

The class instance for the HomographicImageRegistrationRequest class.

View Source
var HorizonObservationClass = _HorizonObservationClass{objc.GetClass("VNHorizonObservation")}

The class instance for the HorizonObservation class.

View Source
var HumanBodyPoseObservationClass = _HumanBodyPoseObservationClass{objc.GetClass("VNHumanBodyPoseObservation")}

The class instance for the HumanBodyPoseObservation class.

View Source
var HumanHandPoseObservationClass = _HumanHandPoseObservationClass{objc.GetClass("VNHumanHandPoseObservation")}

The class instance for the HumanHandPoseObservation class.

View Source
var HumanObservationClass = _HumanObservationClass{objc.GetClass("VNHumanObservation")}

The class instance for the HumanObservation class.

View Source
var ImageAlignmentObservationClass = _ImageAlignmentObservationClass{objc.GetClass("VNImageAlignmentObservation")}

The class instance for the ImageAlignmentObservation class.

View Source
var ImageBasedRequestClass = _ImageBasedRequestClass{objc.GetClass("VNImageBasedRequest")}

The class instance for the ImageBasedRequest class.

View Source
var ImageHomographicAlignmentObservationClass = _ImageHomographicAlignmentObservationClass{objc.GetClass("VNImageHomographicAlignmentObservation")}

The class instance for the ImageHomographicAlignmentObservation class.

View Source
var ImageRegistrationRequestClass = _ImageRegistrationRequestClass{objc.GetClass("VNImageRegistrationRequest")}

The class instance for the ImageRegistrationRequest class.

View Source
var ImageRequestHandlerClass = _ImageRequestHandlerClass{objc.GetClass("VNImageRequestHandler")}

The class instance for the ImageRequestHandler class.

View Source
var ImageTranslationAlignmentObservationClass = _ImageTranslationAlignmentObservationClass{objc.GetClass("VNImageTranslationAlignmentObservation")}

The class instance for the ImageTranslationAlignmentObservation class.

View Source
var ObservationClass = _ObservationClass{objc.GetClass("VNObservation")}

The class instance for the Observation class.

View Source
var PixelBufferObservationClass = _PixelBufferObservationClass{objc.GetClass("VNPixelBufferObservation")}

The class instance for the PixelBufferObservation class.

View Source
var PointClass = _PointClass{objc.GetClass("VNPoint")}

The class instance for the Point class.

View Source
var RecognizeAnimalsRequestClass = _RecognizeAnimalsRequestClass{objc.GetClass("VNRecognizeAnimalsRequest")}

The class instance for the RecognizeAnimalsRequest class.

View Source
var RecognizeTextRequestClass = _RecognizeTextRequestClass{objc.GetClass("VNRecognizeTextRequest")}

The class instance for the RecognizeTextRequest class.

View Source
var RecognizedObjectObservationClass = _RecognizedObjectObservationClass{objc.GetClass("VNRecognizedObjectObservation")}

The class instance for the RecognizedObjectObservation class.

View Source
var RecognizedPointClass = _RecognizedPointClass{objc.GetClass("VNRecognizedPoint")}

The class instance for the RecognizedPoint class.

View Source
var RecognizedPointsObservationClass = _RecognizedPointsObservationClass{objc.GetClass("VNRecognizedPointsObservation")}

The class instance for the RecognizedPointsObservation class.

View Source
var RecognizedTextClass = _RecognizedTextClass{objc.GetClass("VNRecognizedText")}

The class instance for the RecognizedText class.

View Source
var RecognizedTextObservationClass = _RecognizedTextObservationClass{objc.GetClass("VNRecognizedTextObservation")}

The class instance for the RecognizedTextObservation class.

View Source
var RectangleObservationClass = _RectangleObservationClass{objc.GetClass("VNRectangleObservation")}

The class instance for the RectangleObservation class.

View Source
var RequestClass = _RequestClass{objc.GetClass("VNRequest")}

The class instance for the Request class.

View Source
var SaliencyImageObservationClass = _SaliencyImageObservationClass{objc.GetClass("VNSaliencyImageObservation")}

The class instance for the SaliencyImageObservation class.

View Source
var SequenceRequestHandlerClass = _SequenceRequestHandlerClass{objc.GetClass("VNSequenceRequestHandler")}

The class instance for the SequenceRequestHandler class.

View Source
var StatefulRequestClass = _StatefulRequestClass{objc.GetClass("VNStatefulRequest")}

The class instance for the StatefulRequest class.

View Source
var TargetedImageRequestClass = _TargetedImageRequestClass{objc.GetClass("VNTargetedImageRequest")}

The class instance for the TargetedImageRequest class.

View Source
var TextObservationClass = _TextObservationClass{objc.GetClass("VNTextObservation")}

The class instance for the TextObservation class.

View Source
var TrackObjectRequestClass = _TrackObjectRequestClass{objc.GetClass("VNTrackObjectRequest")}

The class instance for the TrackObjectRequest class.

View Source
var TrackRectangleRequestClass = _TrackRectangleRequestClass{objc.GetClass("VNTrackRectangleRequest")}

The class instance for the TrackRectangleRequest class.

View Source
var TrackingRequestClass = _TrackingRequestClass{objc.GetClass("VNTrackingRequest")}

The class instance for the TrackingRequest class.

View Source
var TrajectoryObservationClass = _TrajectoryObservationClass{objc.GetClass("VNTrajectoryObservation")}

The class instance for the TrajectoryObservation class.

View Source
var TranslationalImageRegistrationRequestClass = _TranslationalImageRegistrationRequestClass{objc.GetClass("VNTranslationalImageRegistrationRequest")}

The class instance for the TranslationalImageRegistrationRequest class.

View Source
var VectorClass = _VectorClass{objc.GetClass("VNVector")}

The class instance for the Vector class.

View Source
var VideoProcessorCadenceClass = _VideoProcessorCadenceClass{objc.GetClass("VNVideoProcessorCadence")}

The class instance for the VideoProcessorCadence class.

View Source
var VideoProcessorClass = _VideoProcessorClass{objc.GetClass("VNVideoProcessor")}

The class instance for the VideoProcessor class.

View Source
var VideoProcessorFrameRateCadenceClass = _VideoProcessorFrameRateCadenceClass{objc.GetClass("VNVideoProcessorFrameRateCadence")}

The class instance for the VideoProcessorFrameRateCadence class.

View Source
var VideoProcessorRequestProcessingOptionsClass = _VideoProcessorRequestProcessingOptionsClass{objc.GetClass("VNVideoProcessorRequestProcessingOptions")}

The class instance for the VideoProcessorRequestProcessingOptions class.

View Source
var VideoProcessorTimeIntervalCadenceClass = _VideoProcessorTimeIntervalCadenceClass{objc.GetClass("VNVideoProcessorTimeIntervalCadence")}

The class instance for the VideoProcessorTimeIntervalCadence class.

Functions

func DetectFaceLandmarksRequest_RevisionSupportsConstellation

func DetectFaceLandmarksRequest_RevisionSupportsConstellation(requestRevision uint, constellation RequestFaceLandmarksConstellation) bool

Returns a Boolean value that indicates whether a revision supports a constellation. Full Topic

func GeometryUtils_CalculateAreaForContourOrientedAreaError

func GeometryUtils_CalculateAreaForContourOrientedAreaError(area *float64, contour IContour, orientedArea bool, error foundation.IError) bool

Calculates the area for the specified contour. Full Topic

func GeometryUtils_CalculatePerimeterForContourError

func GeometryUtils_CalculatePerimeterForContourError(perimeter *float64, contour IContour, error foundation.IError) bool

Calculates the perimeter of a closed contour. Full Topic

func Request_CurrentRevision

func Request_CurrentRevision() uint

The current revison supported by the request. Full Topic

func Request_DefaultRevision

func Request_DefaultRevision() uint

The revision of the latest request for the particular SDK linked with the client application. Full Topic

func Request_SupportedRevisions

func Request_SupportedRevisions() foundation.IndexSet

The collection of currently-supported algorithm versions for the class of request. Full Topic

func Vector_DotProductOfVectorVector

func Vector_DotProductOfVectorVector(v1 IVector, v2 IVector) float64

Caclulates the dot product of two vectors. Full Topic

Types

type AnimalIdentifier

type AnimalIdentifier string

An animal identifier string. Full Topic

const (
	AnimalIdentifierCat AnimalIdentifier = "Cat"
	AnimalIdentifierDog AnimalIdentifier = "Dog"
)

type AspectRatio

type AspectRatio float64

A type alias for expressing rectangle aspect ratios in Vision. Full Topic

type BarcodeObservation

type BarcodeObservation struct {
	RectangleObservation
}

An object that represents barcode information that an image analysis request detects. Full Topic

func BarcodeObservationFrom

func BarcodeObservationFrom(ptr unsafe.Pointer) BarcodeObservation

func BarcodeObservation_ObservationWithBoundingBox

func BarcodeObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) BarcodeObservation

Creates an observation with a bounding box. Full Topic

func BarcodeObservation_ObservationWithRequestRevisionBoundingBox

func BarcodeObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) BarcodeObservation

Creates an observation with a revision number and bounding box. Full Topic

func NewBarcodeObservation

func NewBarcodeObservation() BarcodeObservation

func (BarcodeObservation) BarcodeDescriptor

func (b_ BarcodeObservation) BarcodeDescriptor() coreimage.BarcodeDescriptor

An object that describes the low-level details about the barcode and its data. Full Topic

func (BarcodeObservation) Init

func (BarcodeObservation) PayloadStringValue

func (b_ BarcodeObservation) PayloadStringValue() string

A string value that represents the barcode payload. Full Topic

func (BarcodeObservation) Symbology

func (b_ BarcodeObservation) Symbology() BarcodeSymbology

The symbology of the observed barcode. Full Topic

type BarcodeSymbology

type BarcodeSymbology string

The barcode symbologies that the framework detects. Full Topic

const (
	BarcodeSymbologyAztec                   BarcodeSymbology = "VNBarcodeSymbologyAztec"
	BarcodeSymbologyCodabar                 BarcodeSymbology = "VNBarcodeSymbologyCodabar"
	BarcodeSymbologyCode128                 BarcodeSymbology = "VNBarcodeSymbologyCode128"
	BarcodeSymbologyCode39                  BarcodeSymbology = "VNBarcodeSymbologyCode39"
	BarcodeSymbologyCode39Checksum          BarcodeSymbology = "VNBarcodeSymbologyCode39Checksum"
	BarcodeSymbologyCode39FullASCII         BarcodeSymbology = "VNBarcodeSymbologyCode39FullASCII"
	BarcodeSymbologyCode39FullASCIIChecksum BarcodeSymbology = "VNBarcodeSymbologyCode39FullASCIIChecksum"
	BarcodeSymbologyCode93                  BarcodeSymbology = "VNBarcodeSymbologyCode93"
	BarcodeSymbologyCode93i                 BarcodeSymbology = "VNBarcodeSymbologyCode93i"
	BarcodeSymbologyDataMatrix              BarcodeSymbology = "VNBarcodeSymbologyDataMatrix"
	BarcodeSymbologyEAN13                   BarcodeSymbology = "VNBarcodeSymbologyEAN13"
	BarcodeSymbologyEAN8                    BarcodeSymbology = "VNBarcodeSymbologyEAN8"
	BarcodeSymbologyGS1DataBar              BarcodeSymbology = "VNBarcodeSymbologyGS1DataBar"
	BarcodeSymbologyGS1DataBarExpanded      BarcodeSymbology = "VNBarcodeSymbologyGS1DataBarExpanded"
	BarcodeSymbologyGS1DataBarLimited       BarcodeSymbology = "VNBarcodeSymbologyGS1DataBarLimited"
	BarcodeSymbologyI2of5                   BarcodeSymbology = "VNBarcodeSymbologyI2of5"
	BarcodeSymbologyI2of5Checksum           BarcodeSymbology = "VNBarcodeSymbologyI2of5Checksum"
	BarcodeSymbologyITF14                   BarcodeSymbology = "VNBarcodeSymbologyITF14"
	BarcodeSymbologyMicroPDF417             BarcodeSymbology = "VNBarcodeSymbologyMicroPDF417"
	BarcodeSymbologyMicroQR                 BarcodeSymbology = "VNBarcodeSymbologyMicroQR"
	BarcodeSymbologyPDF417                  BarcodeSymbology = "VNBarcodeSymbologyPDF417"
	BarcodeSymbologyQR                      BarcodeSymbology = "VNBarcodeSymbologyQR"
	BarcodeSymbologyUPCE                    BarcodeSymbology = "VNBarcodeSymbologyUPCE"
)

type Chirality

type Chirality int

Constants that the define the chirality, or handedness, of a pose. Full Topic

const (
	ChiralityLeft    Chirality = -1
	ChiralityRight   Chirality = 1
	ChiralityUnknown Chirality = 0
)

type Circle

type Circle struct {
	objc.Object
}

An immutable, two-dimensional circle represented by its center point and radius. Full Topic

func CircleFrom

func CircleFrom(ptr unsafe.Pointer) Circle

func Circle_ZeroCircle

func Circle_ZeroCircle() Circle

A circle object centered at the origin, with a radius of zero. Full Topic

func GeometryUtils_BoundingCircleForContourError

func GeometryUtils_BoundingCircleForContourError(contour IContour, error foundation.IError) Circle

Calculates a bounding circle for the specified contour object. Full Topic

func GeometryUtils_BoundingCircleForPointsError

func GeometryUtils_BoundingCircleForPointsError(points []IPoint, error foundation.IError) Circle

Calculates a bounding circle for the specified array of points. Full Topic

func GeometryUtils_BoundingCircleForSIMDPointsPointCountError

func GeometryUtils_BoundingCircleForSIMDPointsPointCountError(points objc.IObject, pointCount int, error foundation.IError) Circle

Calculates a bounding circle for the specified points. Full Topic

func NewCircle

func NewCircle() Circle

func NewCircleWithCenterDiameter

func NewCircleWithCenterDiameter(center IPoint, diameter float64) Circle

Creates a circle with the specified center and diameter. Full Topic

func NewCircleWithCenterRadius

func NewCircleWithCenterRadius(center IPoint, radius float64) Circle

Creates a circle with the specified center and radius. Full Topic

func (Circle) Center

func (c_ Circle) Center() Point

The circle’s center point. Full Topic

func (Circle) ContainsPoint

func (c_ Circle) ContainsPoint(point IPoint) bool

Determines if this circle, including its boundary, contains the specified point. Full Topic

func (Circle) ContainsPointInCircumferentialRingOfWidth

func (c_ Circle) ContainsPointInCircumferentialRingOfWidth(point IPoint, ringWidth float64) bool

Determines if a ring around this circle’s circumference contains the specified point. Full Topic

func (Circle) Diameter

func (c_ Circle) Diameter() float64

The circle’s diameter. Full Topic

func (Circle) Init

func (c_ Circle) Init() Circle

func (Circle) InitWithCenterDiameter

func (c_ Circle) InitWithCenterDiameter(center IPoint, diameter float64) Circle

func (Circle) InitWithCenterRadius

func (c_ Circle) InitWithCenterRadius(center IPoint, radius float64) Circle

func (Circle) Radius

func (c_ Circle) Radius() float64

The circle’s radius. Full Topic

type ClassificationObservation

type ClassificationObservation struct {
	Observation
}

An object that represents classification information that an image analysis request produces. Full Topic

func ClassificationObservationFrom

func ClassificationObservationFrom(ptr unsafe.Pointer) ClassificationObservation

func NewClassificationObservation

func NewClassificationObservation() ClassificationObservation

func (ClassificationObservation) HasMinimumPrecisionForRecall

func (c_ ClassificationObservation) HasMinimumPrecisionForRecall(minimumPrecision float64, recall float64) bool

Determines whether the observation for a specific recall has a minimum precision value. Full Topic

func (ClassificationObservation) HasMinimumRecallForPrecision

func (c_ ClassificationObservation) HasMinimumRecallForPrecision(minimumRecall float64, precision float64) bool

Determines whether the observation for a specific precision has a minimum recall value. Full Topic

func (ClassificationObservation) HasPrecisionRecallCurve

func (c_ ClassificationObservation) HasPrecisionRecallCurve() bool

A Boolean variable indicating whether the observation contains precision and recall curves. Full Topic

func (ClassificationObservation) Identifier

func (c_ ClassificationObservation) Identifier() string

Classification label identifying the type of observation. Full Topic

func (ClassificationObservation) Init

type ClassifyImageRequest

type ClassifyImageRequest struct {
	ImageBasedRequest
}

A request to classify an image. Full Topic

func ClassifyImageRequestFrom

func ClassifyImageRequestFrom(ptr unsafe.Pointer) ClassifyImageRequest

func NewClassifyImageRequest

func NewClassifyImageRequest() ClassifyImageRequest

func NewClassifyImageRequestWithCompletionHandler

func NewClassifyImageRequestWithCompletionHandler(completionHandler RequestCompletionHandler) ClassifyImageRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (ClassifyImageRequest) Init

func (ClassifyImageRequest) InitWithCompletionHandler

func (c_ ClassifyImageRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) ClassifyImageRequest

func (ClassifyImageRequest) SupportedIdentifiersAndReturnError

func (c_ ClassifyImageRequest) SupportedIdentifiersAndReturnError(error foundation.IError) []string

Returns the classification identifiers that the request supports in its current configuration. Full Topic

type Confidence

type Confidence float64

A type alias for the confidence value of an observation. Full Topic

type Contour

type Contour struct {
	objc.Object
}

A class that represents a detected contour in an image. Full Topic

func ContourFrom

func ContourFrom(ptr unsafe.Pointer) Contour

func NewContour

func NewContour() Contour

func (Contour) AspectRatio

func (c_ Contour) AspectRatio() float64

The aspect ratio of the contour. Full Topic

func (Contour) ChildContourAtIndexError

func (c_ Contour) ChildContourAtIndexError(childContourIndex uint, error foundation.IError) Contour

Retrieves the child contour object at the specified index. Full Topic

func (Contour) ChildContourCount

func (c_ Contour) ChildContourCount() int

The total number of detected child contours. Full Topic

func (Contour) ChildContours

func (c_ Contour) ChildContours() []Contour

An array of contours that this contour encloses. Full Topic

func (Contour) IndexPath

func (c_ Contour) IndexPath() foundation.IndexPath

The contour object’s index path. Full Topic

func (Contour) Init

func (c_ Contour) Init() Contour

func (Contour) NormalizedPath

func (c_ Contour) NormalizedPath() unsafe.Pointer

The contour object as a path in normalized coordinates. Full Topic

func (Contour) NormalizedPoints

func (c_ Contour) NormalizedPoints() objc.Object

The contour’s array of points in normalized coordinates. Full Topic

func (Contour) PointCount

func (c_ Contour) PointCount() int

The contour’s number of points. Full Topic

func (Contour) PolygonApproximationWithEpsilonError

func (c_ Contour) PolygonApproximationWithEpsilonError(epsilon float64, error foundation.IError) Contour

Simplifies the contour to a polygon using a Ramer-Douglas-Peucker algorithm. Full Topic

type ContoursObservation

type ContoursObservation struct {
	Observation
}

An object that represents the detected contours in an image. Full Topic

func ContoursObservationFrom

func ContoursObservationFrom(ptr unsafe.Pointer) ContoursObservation

func NewContoursObservation

func NewContoursObservation() ContoursObservation

func (ContoursObservation) ContourAtIndexError

func (c_ ContoursObservation) ContourAtIndexError(contourIndex int, error foundation.IError) Contour

Retrieves the contour object at the specified index, irrespective of hierarchy. Full Topic

func (ContoursObservation) ContourAtIndexPathError

func (c_ ContoursObservation) ContourAtIndexPathError(indexPath foundation.IIndexPath, error foundation.IError) Contour

Retrieves the contour object at the specified index path. Full Topic

func (ContoursObservation) ContourCount

func (c_ ContoursObservation) ContourCount() int

The total number of detected contours. Full Topic

func (ContoursObservation) Init

func (ContoursObservation) NormalizedPath

func (c_ ContoursObservation) NormalizedPath() unsafe.Pointer

The detected contours as a path object in normalized coordinates. Full Topic

func (ContoursObservation) TopLevelContourCount

func (c_ ContoursObservation) TopLevelContourCount() int

The total number of detected top-level contours. Full Topic

func (ContoursObservation) TopLevelContours

func (c_ ContoursObservation) TopLevelContours() []Contour

An array of contours that don’t have another contour enclosing them. Full Topic

type CoreMLFeatureValueObservation

type CoreMLFeatureValueObservation struct {
	Observation
}

An object that represents a collection of key-value information that a Core ML image analysis request produces. Full Topic

func CoreMLFeatureValueObservationFrom

func CoreMLFeatureValueObservationFrom(ptr unsafe.Pointer) CoreMLFeatureValueObservation

func NewCoreMLFeatureValueObservation

func NewCoreMLFeatureValueObservation() CoreMLFeatureValueObservation

func (CoreMLFeatureValueObservation) FeatureName

func (c_ CoreMLFeatureValueObservation) FeatureName() string

The name used in the model description of the CoreML model that produced this observation. Full Topic

func (CoreMLFeatureValueObservation) FeatureValue

The feature result of a VNCoreMLRequest that outputs neither a classification nor an image. Full Topic

func (CoreMLFeatureValueObservation) Init

type CoreMLModel

type CoreMLModel struct {
	objc.Object
}

A container for the model to use with Vision requests. Full Topic

func CoreMLModelFrom

func CoreMLModelFrom(ptr unsafe.Pointer) CoreMLModel

func CoreMLModel_ModelForMLModelError

func CoreMLModel_ModelForMLModelError(model coreml.IModel, error foundation.IError) CoreMLModel

Creates a model container to be used with VNCoreMLRequest. Full Topic

func NewCoreMLModel

func NewCoreMLModel() CoreMLModel

func (CoreMLModel) FeatureProvider

func (c_ CoreMLModel) FeatureProvider() coreml.FeatureProviderObject

An optional object to support inputs outside Vision. Full Topic

func (CoreMLModel) Init

func (c_ CoreMLModel) Init() CoreMLModel

func (CoreMLModel) InputImageFeatureName

func (c_ CoreMLModel) InputImageFeatureName() string

The name of the MLFeatureValue that Vision sets from the request handler. Full Topic

func (CoreMLModel) SetFeatureProvider

func (c_ CoreMLModel) SetFeatureProvider(value coreml.PFeatureProvider)

An optional object to support inputs outside Vision. Full Topic

func (CoreMLModel) SetFeatureProviderObject

func (c_ CoreMLModel) SetFeatureProviderObject(valueObject objc.IObject)

An optional object to support inputs outside Vision. Full Topic

func (CoreMLModel) SetInputImageFeatureName

func (c_ CoreMLModel) SetInputImageFeatureName(value string)

The name of the MLFeatureValue that Vision sets from the request handler. Full Topic

type CoreMLRequest

type CoreMLRequest struct {
	ImageBasedRequest
}

An image analysis request that uses a Core ML model to process images. Full Topic

func CoreMLRequestFrom

func CoreMLRequestFrom(ptr unsafe.Pointer) CoreMLRequest

func NewCoreMLRequest

func NewCoreMLRequest() CoreMLRequest

func NewCoreMLRequestWithCompletionHandler

func NewCoreMLRequestWithCompletionHandler(completionHandler RequestCompletionHandler) CoreMLRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewCoreMLRequestWithModel

func NewCoreMLRequestWithModel(model ICoreMLModel) CoreMLRequest

Creates a model container to use with an image analysis request based on the model you provide. Full Topic

func NewCoreMLRequestWithModelCompletionHandler

func NewCoreMLRequestWithModelCompletionHandler(model ICoreMLModel, completionHandler RequestCompletionHandler) CoreMLRequest

Creates a model container to use with an image analysis request based on the model you provide, with an optional completion handler. Full Topic

func (CoreMLRequest) ImageCropAndScaleOption

func (c_ CoreMLRequest) ImageCropAndScaleOption() ImageCropAndScaleOption

An optional setting that tells the Vision algorithm how to scale an input image. Full Topic

func (CoreMLRequest) Init

func (c_ CoreMLRequest) Init() CoreMLRequest

func (CoreMLRequest) InitWithCompletionHandler

func (c_ CoreMLRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) CoreMLRequest

func (CoreMLRequest) InitWithModel

func (c_ CoreMLRequest) InitWithModel(model ICoreMLModel) CoreMLRequest

func (CoreMLRequest) InitWithModelCompletionHandler

func (c_ CoreMLRequest) InitWithModelCompletionHandler(model ICoreMLModel, completionHandler RequestCompletionHandler) CoreMLRequest

func (CoreMLRequest) Model

func (c_ CoreMLRequest) Model() CoreMLModel

The model to base the image analysis request on. Full Topic

func (CoreMLRequest) SetImageCropAndScaleOption

func (c_ CoreMLRequest) SetImageCropAndScaleOption(value ImageCropAndScaleOption)

An optional setting that tells the Vision algorithm how to scale an input image. Full Topic

type Degrees

type Degrees float64

A typealias for expressing tolerance angles in Vision. Full Topic

type DetectBarcodesRequest

type DetectBarcodesRequest struct {
	ImageBasedRequest
}

A request that detects barcodes in an image. Full Topic

func DetectBarcodesRequestFrom

func DetectBarcodesRequestFrom(ptr unsafe.Pointer) DetectBarcodesRequest

func NewDetectBarcodesRequest

func NewDetectBarcodesRequest() DetectBarcodesRequest

func NewDetectBarcodesRequestWithCompletionHandler

func NewDetectBarcodesRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectBarcodesRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectBarcodesRequest) Init

func (DetectBarcodesRequest) InitWithCompletionHandler

func (d_ DetectBarcodesRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectBarcodesRequest

func (DetectBarcodesRequest) SetSymbologies

func (d_ DetectBarcodesRequest) SetSymbologies(value []BarcodeSymbology)

The barcode symbologies that the request detects in an image. Full Topic

func (DetectBarcodesRequest) SupportedSymbologiesAndReturnError

func (d_ DetectBarcodesRequest) SupportedSymbologiesAndReturnError(error foundation.IError) []BarcodeSymbology

Returns the barcode symbologies that the request supports. Full Topic

func (DetectBarcodesRequest) Symbologies

func (d_ DetectBarcodesRequest) Symbologies() []BarcodeSymbology

The barcode symbologies that the request detects in an image. Full Topic

type DetectContoursRequest

type DetectContoursRequest struct {
	ImageBasedRequest
}

A request that detects the contours of the edges of an image. Full Topic

func DetectContoursRequestFrom

func DetectContoursRequestFrom(ptr unsafe.Pointer) DetectContoursRequest

func NewDetectContoursRequest

func NewDetectContoursRequest() DetectContoursRequest

func NewDetectContoursRequestWithCompletionHandler

func NewDetectContoursRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectContoursRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectContoursRequest) ContrastAdjustment

func (d_ DetectContoursRequest) ContrastAdjustment() float64

The amount by which to adjust the image contrast. Full Topic

func (DetectContoursRequest) ContrastPivot

func (d_ DetectContoursRequest) ContrastPivot() foundation.Number

The pixel value to use as a pivot for the contrast. Full Topic

func (DetectContoursRequest) DetectsDarkOnLight

func (d_ DetectContoursRequest) DetectsDarkOnLight() bool

A Boolean value that indicates whether the request detects a dark object on a light background to aid in detection. Full Topic

func (DetectContoursRequest) Init

func (DetectContoursRequest) InitWithCompletionHandler

func (d_ DetectContoursRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectContoursRequest

func (DetectContoursRequest) MaximumImageDimension

func (d_ DetectContoursRequest) MaximumImageDimension() uint

The maximum image dimension to use for contour detection. Full Topic

func (DetectContoursRequest) SetContrastAdjustment

func (d_ DetectContoursRequest) SetContrastAdjustment(value float64)

The amount by which to adjust the image contrast. Full Topic

func (DetectContoursRequest) SetContrastPivot

func (d_ DetectContoursRequest) SetContrastPivot(value foundation.INumber)

The pixel value to use as a pivot for the contrast. Full Topic

func (DetectContoursRequest) SetDetectsDarkOnLight

func (d_ DetectContoursRequest) SetDetectsDarkOnLight(value bool)

A Boolean value that indicates whether the request detects a dark object on a light background to aid in detection. Full Topic

func (DetectContoursRequest) SetMaximumImageDimension

func (d_ DetectContoursRequest) SetMaximumImageDimension(value uint)

The maximum image dimension to use for contour detection. Full Topic

type DetectDocumentSegmentationRequest

type DetectDocumentSegmentationRequest struct {
	ImageBasedRequest
}

An object that detects rectangular regions that contain text in the input image. Full Topic

func DetectDocumentSegmentationRequestFrom

func DetectDocumentSegmentationRequestFrom(ptr unsafe.Pointer) DetectDocumentSegmentationRequest

func NewDetectDocumentSegmentationRequest

func NewDetectDocumentSegmentationRequest() DetectDocumentSegmentationRequest

func NewDetectDocumentSegmentationRequestWithCompletionHandler

func NewDetectDocumentSegmentationRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectDocumentSegmentationRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectDocumentSegmentationRequest) Init

func (DetectDocumentSegmentationRequest) InitWithCompletionHandler

type DetectFaceCaptureQualityRequest

type DetectFaceCaptureQualityRequest struct {
	ImageBasedRequest
}

A request that produces a floating-point number that represents the capture quality of a face in a photo. Full Topic

func DetectFaceCaptureQualityRequestFrom

func DetectFaceCaptureQualityRequestFrom(ptr unsafe.Pointer) DetectFaceCaptureQualityRequest

func NewDetectFaceCaptureQualityRequest

func NewDetectFaceCaptureQualityRequest() DetectFaceCaptureQualityRequest

func NewDetectFaceCaptureQualityRequestWithCompletionHandler

func NewDetectFaceCaptureQualityRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectFaceCaptureQualityRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectFaceCaptureQualityRequest) Init

func (DetectFaceCaptureQualityRequest) InitWithCompletionHandler

func (d_ DetectFaceCaptureQualityRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectFaceCaptureQualityRequest

type DetectFaceLandmarksRequest

type DetectFaceLandmarksRequest struct {
	ImageBasedRequest
}

An image analysis request that finds facial features like eyes and mouth in an image. Full Topic

func DetectFaceLandmarksRequestFrom

func DetectFaceLandmarksRequestFrom(ptr unsafe.Pointer) DetectFaceLandmarksRequest

func NewDetectFaceLandmarksRequest

func NewDetectFaceLandmarksRequest() DetectFaceLandmarksRequest

func NewDetectFaceLandmarksRequestWithCompletionHandler

func NewDetectFaceLandmarksRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectFaceLandmarksRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectFaceLandmarksRequest) Constellation

A variable that describes how a face landmarks request orders or enumerates the resulting features. Full Topic

func (DetectFaceLandmarksRequest) Init

func (DetectFaceLandmarksRequest) InitWithCompletionHandler

func (d_ DetectFaceLandmarksRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectFaceLandmarksRequest

func (DetectFaceLandmarksRequest) SetConstellation

A variable that describes how a face landmarks request orders or enumerates the resulting features. Full Topic

type DetectFaceRectanglesRequest

type DetectFaceRectanglesRequest struct {
	ImageBasedRequest
}

A request that finds faces within an image. Full Topic

func DetectFaceRectanglesRequestFrom

func DetectFaceRectanglesRequestFrom(ptr unsafe.Pointer) DetectFaceRectanglesRequest

func NewDetectFaceRectanglesRequest

func NewDetectFaceRectanglesRequest() DetectFaceRectanglesRequest

func NewDetectFaceRectanglesRequestWithCompletionHandler

func NewDetectFaceRectanglesRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectFaceRectanglesRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectFaceRectanglesRequest) Init

func (DetectFaceRectanglesRequest) InitWithCompletionHandler

func (d_ DetectFaceRectanglesRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectFaceRectanglesRequest

type DetectHorizonRequest

type DetectHorizonRequest struct {
	ImageBasedRequest
}

An image analysis request that determines the horizon angle in an image. Full Topic

func DetectHorizonRequestFrom

func DetectHorizonRequestFrom(ptr unsafe.Pointer) DetectHorizonRequest

func NewDetectHorizonRequest

func NewDetectHorizonRequest() DetectHorizonRequest

func NewDetectHorizonRequestWithCompletionHandler

func NewDetectHorizonRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHorizonRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectHorizonRequest) Init

func (DetectHorizonRequest) InitWithCompletionHandler

func (d_ DetectHorizonRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHorizonRequest

type DetectHumanBodyPoseRequest

type DetectHumanBodyPoseRequest struct {
	ImageBasedRequest
}

A request that detects a human body pose. Full Topic

func DetectHumanBodyPoseRequestFrom

func DetectHumanBodyPoseRequestFrom(ptr unsafe.Pointer) DetectHumanBodyPoseRequest

func NewDetectHumanBodyPoseRequest

func NewDetectHumanBodyPoseRequest() DetectHumanBodyPoseRequest

func NewDetectHumanBodyPoseRequestWithCompletionHandler

func NewDetectHumanBodyPoseRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHumanBodyPoseRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectHumanBodyPoseRequest) Init

func (DetectHumanBodyPoseRequest) InitWithCompletionHandler

func (d_ DetectHumanBodyPoseRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHumanBodyPoseRequest

type DetectHumanHandPoseRequest

type DetectHumanHandPoseRequest struct {
	ImageBasedRequest
}

A request that detects a human hand pose. Full Topic

func DetectHumanHandPoseRequestFrom

func DetectHumanHandPoseRequestFrom(ptr unsafe.Pointer) DetectHumanHandPoseRequest

func NewDetectHumanHandPoseRequest

func NewDetectHumanHandPoseRequest() DetectHumanHandPoseRequest

func NewDetectHumanHandPoseRequestWithCompletionHandler

func NewDetectHumanHandPoseRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHumanHandPoseRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectHumanHandPoseRequest) Init

func (DetectHumanHandPoseRequest) InitWithCompletionHandler

func (d_ DetectHumanHandPoseRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHumanHandPoseRequest

func (DetectHumanHandPoseRequest) MaximumHandCount

func (d_ DetectHumanHandPoseRequest) MaximumHandCount() uint

The maximum number of hands to detect in an image. Full Topic

func (DetectHumanHandPoseRequest) SetMaximumHandCount

func (d_ DetectHumanHandPoseRequest) SetMaximumHandCount(value uint)

The maximum number of hands to detect in an image. Full Topic

type DetectHumanRectanglesRequest

type DetectHumanRectanglesRequest struct {
	ImageBasedRequest
}

A request that finds rectangular regions that contain people in an image. Full Topic

func DetectHumanRectanglesRequestFrom

func DetectHumanRectanglesRequestFrom(ptr unsafe.Pointer) DetectHumanRectanglesRequest

func NewDetectHumanRectanglesRequest

func NewDetectHumanRectanglesRequest() DetectHumanRectanglesRequest

func NewDetectHumanRectanglesRequestWithCompletionHandler

func NewDetectHumanRectanglesRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHumanRectanglesRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectHumanRectanglesRequest) Init

func (DetectHumanRectanglesRequest) InitWithCompletionHandler

func (d_ DetectHumanRectanglesRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectHumanRectanglesRequest

func (DetectHumanRectanglesRequest) SetUpperBodyOnly

func (d_ DetectHumanRectanglesRequest) SetUpperBodyOnly(value bool)

A Boolean value that indicates whether the request requires detecting a full body or upper body only to produce a result. Full Topic

func (DetectHumanRectanglesRequest) UpperBodyOnly

func (d_ DetectHumanRectanglesRequest) UpperBodyOnly() bool

A Boolean value that indicates whether the request requires detecting a full body or upper body only to produce a result. Full Topic

type DetectRectanglesRequest

type DetectRectanglesRequest struct {
	ImageBasedRequest
}

An image analysis request that finds projected rectangular regions in an image. Full Topic

func DetectRectanglesRequestFrom

func DetectRectanglesRequestFrom(ptr unsafe.Pointer) DetectRectanglesRequest

func NewDetectRectanglesRequest

func NewDetectRectanglesRequest() DetectRectanglesRequest

func NewDetectRectanglesRequestWithCompletionHandler

func NewDetectRectanglesRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectRectanglesRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectRectanglesRequest) Init

func (DetectRectanglesRequest) InitWithCompletionHandler

func (d_ DetectRectanglesRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectRectanglesRequest

func (DetectRectanglesRequest) MaximumAspectRatio

func (d_ DetectRectanglesRequest) MaximumAspectRatio() AspectRatio

A float specifying the maximum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension. Full Topic

func (DetectRectanglesRequest) MaximumObservations

func (d_ DetectRectanglesRequest) MaximumObservations() uint

An integer specifying the maximum number of rectangles Vision returns. Full Topic

func (DetectRectanglesRequest) MinimumAspectRatio

func (d_ DetectRectanglesRequest) MinimumAspectRatio() AspectRatio

A float specifying the minimum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension. Full Topic

func (DetectRectanglesRequest) MinimumConfidence

func (d_ DetectRectanglesRequest) MinimumConfidence() Confidence

A value specifying the minimum acceptable confidence level. Full Topic

func (DetectRectanglesRequest) MinimumSize

func (d_ DetectRectanglesRequest) MinimumSize() float64

The minimum size of a rectangle to detect, as a proportion of the smallest dimension. Full Topic

func (DetectRectanglesRequest) QuadratureTolerance

func (d_ DetectRectanglesRequest) QuadratureTolerance() Degrees

A float specifying the number of degrees a rectangle corner angle can deviate from 90°. Full Topic

func (DetectRectanglesRequest) SetMaximumAspectRatio

func (d_ DetectRectanglesRequest) SetMaximumAspectRatio(value AspectRatio)

A float specifying the maximum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension. Full Topic

func (DetectRectanglesRequest) SetMaximumObservations

func (d_ DetectRectanglesRequest) SetMaximumObservations(value uint)

An integer specifying the maximum number of rectangles Vision returns. Full Topic

func (DetectRectanglesRequest) SetMinimumAspectRatio

func (d_ DetectRectanglesRequest) SetMinimumAspectRatio(value AspectRatio)

A float specifying the minimum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension. Full Topic

func (DetectRectanglesRequest) SetMinimumConfidence

func (d_ DetectRectanglesRequest) SetMinimumConfidence(value Confidence)

A value specifying the minimum acceptable confidence level. Full Topic

func (DetectRectanglesRequest) SetMinimumSize

func (d_ DetectRectanglesRequest) SetMinimumSize(value float64)

The minimum size of a rectangle to detect, as a proportion of the smallest dimension. Full Topic

func (DetectRectanglesRequest) SetQuadratureTolerance

func (d_ DetectRectanglesRequest) SetQuadratureTolerance(value Degrees)

A float specifying the number of degrees a rectangle corner angle can deviate from 90°. Full Topic

type DetectTextRectanglesRequest

type DetectTextRectanglesRequest struct {
	ImageBasedRequest
}

An image analysis request that finds regions of visible text in an image. Full Topic

func DetectTextRectanglesRequestFrom

func DetectTextRectanglesRequestFrom(ptr unsafe.Pointer) DetectTextRectanglesRequest

func NewDetectTextRectanglesRequest

func NewDetectTextRectanglesRequest() DetectTextRectanglesRequest

func NewDetectTextRectanglesRequestWithCompletionHandler

func NewDetectTextRectanglesRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectTextRectanglesRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (DetectTextRectanglesRequest) Init

func (DetectTextRectanglesRequest) InitWithCompletionHandler

func (d_ DetectTextRectanglesRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectTextRectanglesRequest

func (DetectTextRectanglesRequest) ReportCharacterBoxes

func (d_ DetectTextRectanglesRequest) ReportCharacterBoxes() bool

A Boolean value that indicates whether the request detects character bounding boxes. Full Topic

func (DetectTextRectanglesRequest) SetReportCharacterBoxes

func (d_ DetectTextRectanglesRequest) SetReportCharacterBoxes(value bool)

A Boolean value that indicates whether the request detects character bounding boxes. Full Topic

type DetectTrajectoriesRequest

type DetectTrajectoriesRequest struct {
	StatefulRequest
}

A request that detects the trajectories of shapes moving along a parabolic path. Full Topic

func DetectTrajectoriesRequestFrom

func DetectTrajectoriesRequestFrom(ptr unsafe.Pointer) DetectTrajectoriesRequest

func NewDetectTrajectoriesRequest

func NewDetectTrajectoriesRequest() DetectTrajectoriesRequest

func NewDetectTrajectoriesRequestWithCompletionHandler

func NewDetectTrajectoriesRequestWithCompletionHandler(completionHandler RequestCompletionHandler) DetectTrajectoriesRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewDetectTrajectoriesRequestWithFrameAnalysisSpacingCompletionHandler

func NewDetectTrajectoriesRequestWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing coremedia.Time, completionHandler RequestCompletionHandler) DetectTrajectoriesRequest

Initializes a video-based request. Full Topic

func NewDetectTrajectoriesRequestWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler

func NewDetectTrajectoriesRequestWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler(frameAnalysisSpacing coremedia.Time, trajectoryLength int, completionHandler RequestCompletionHandler) DetectTrajectoriesRequest

Creates a new request to detect trajectories. Full Topic

func (DetectTrajectoriesRequest) Init

func (DetectTrajectoriesRequest) InitWithCompletionHandler

func (d_ DetectTrajectoriesRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) DetectTrajectoriesRequest

func (DetectTrajectoriesRequest) InitWithFrameAnalysisSpacingCompletionHandler

func (d_ DetectTrajectoriesRequest) InitWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing coremedia.Time, completionHandler RequestCompletionHandler) DetectTrajectoriesRequest

func (DetectTrajectoriesRequest) InitWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler

func (d_ DetectTrajectoriesRequest) InitWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler(frameAnalysisSpacing coremedia.Time, trajectoryLength int, completionHandler RequestCompletionHandler) DetectTrajectoriesRequest

func (DetectTrajectoriesRequest) ObjectMaximumNormalizedRadius

func (d_ DetectTrajectoriesRequest) ObjectMaximumNormalizedRadius() float64

The maximum radius of the bounding circle of the object to track. Full Topic

func (DetectTrajectoriesRequest) ObjectMinimumNormalizedRadius

func (d_ DetectTrajectoriesRequest) ObjectMinimumNormalizedRadius() float64

The minimum radius of the bounding circle of the object to track. Full Topic

func (DetectTrajectoriesRequest) SetObjectMaximumNormalizedRadius

func (d_ DetectTrajectoriesRequest) SetObjectMaximumNormalizedRadius(value float64)

The maximum radius of the bounding circle of the object to track. Full Topic

func (DetectTrajectoriesRequest) SetObjectMinimumNormalizedRadius

func (d_ DetectTrajectoriesRequest) SetObjectMinimumNormalizedRadius(value float64)

The minimum radius of the bounding circle of the object to track. Full Topic

func (DetectTrajectoriesRequest) SetTargetFrameTime

func (d_ DetectTrajectoriesRequest) SetTargetFrameTime(value coremedia.Time)

The requested target frame time for processing trajectory detection. Full Topic

func (DetectTrajectoriesRequest) TargetFrameTime

func (d_ DetectTrajectoriesRequest) TargetFrameTime() coremedia.Time

The requested target frame time for processing trajectory detection. Full Topic

func (DetectTrajectoriesRequest) TrajectoryLength

func (d_ DetectTrajectoriesRequest) TrajectoryLength() int

The number of points to detect before calculating a trajectory. Full Topic

type DetectedObjectObservation

type DetectedObjectObservation struct {
	Observation
}

An observation that provides the position and extent of an image feature that an image analysis request detects. Full Topic

func DetectedObjectObservationFrom

func DetectedObjectObservationFrom(ptr unsafe.Pointer) DetectedObjectObservation

func DetectedObjectObservation_ObservationWithBoundingBox

func DetectedObjectObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) DetectedObjectObservation

Creates an observation with a bounding box. Full Topic

func DetectedObjectObservation_ObservationWithRequestRevisionBoundingBox

func DetectedObjectObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) DetectedObjectObservation

Creates an observation with a revision number and bounding box. Full Topic

func NewDetectedObjectObservation

func NewDetectedObjectObservation() DetectedObjectObservation

func (DetectedObjectObservation) BoundingBox

func (d_ DetectedObjectObservation) BoundingBox() coregraphics.Rect

The bounding box of the object that the request detects. Full Topic

func (DetectedObjectObservation) GlobalSegmentationMask

func (d_ DetectedObjectObservation) GlobalSegmentationMask() PixelBufferObservation

A resulting pixel buffer from a request to generate a segmentation mask for an image. Full Topic

func (DetectedObjectObservation) Init

type DetectedPoint

type DetectedPoint struct {
	Point
}

An object that represents a normalized point in an image, along with a confidence value. Full Topic

func DetectedPointFrom

func DetectedPointFrom(ptr unsafe.Pointer) DetectedPoint

func NewDetectedPoint

func NewDetectedPoint() DetectedPoint

func NewDetectedPointWithLocation

func NewDetectedPointWithLocation(location coregraphics.Point) DetectedPoint

Creates a point object from the specified Core Graphics point. Full Topic

func NewDetectedPointWithXY

func NewDetectedPointWithXY(x float64, y float64) DetectedPoint

Creates a point object with the specified coordinates. Full Topic

func (DetectedPoint) Confidence

func (d_ DetectedPoint) Confidence() Confidence

A confidence score that indicates the detected point’s accuracy. Full Topic

func (DetectedPoint) Init

func (d_ DetectedPoint) Init() DetectedPoint

func (DetectedPoint) InitWithLocation

func (d_ DetectedPoint) InitWithLocation(location coregraphics.Point) DetectedPoint

func (DetectedPoint) InitWithXY

func (d_ DetectedPoint) InitWithXY(x float64, y float64) DetectedPoint

type ElementType

type ElementType uint

An enumeration of the type of element in feature print data. Full Topic

const (
	ElementTypeDouble  ElementType = 2
	ElementTypeFloat   ElementType = 1
	ElementTypeUnknown ElementType = 0
)

type ErrorCode

type ErrorCode int

Constants that identify errors from the framework. Full Topic

const (
	ErrorDataUnavailable     ErrorCode = 17
	ErrorIOError             ErrorCode = 6
	ErrorInternalError       ErrorCode = 9
	ErrorInvalidArgument     ErrorCode = 14
	ErrorInvalidFormat       ErrorCode = 2
	ErrorInvalidImage        ErrorCode = 13
	ErrorInvalidModel        ErrorCode = 15
	ErrorInvalidOperation    ErrorCode = 12
	ErrorInvalidOption       ErrorCode = 5
	ErrorMissingOption       ErrorCode = 7
	ErrorNotImplemented      ErrorCode = 8
	ErrorOK                  ErrorCode = 0
	ErrorOperationFailed     ErrorCode = 3
	ErrorOutOfBoundsError    ErrorCode = 4
	ErrorOutOfMemory         ErrorCode = 10
	ErrorRequestCancelled    ErrorCode = 1
	ErrorTimeStampNotFound   ErrorCode = 18
	ErrorUnknownError        ErrorCode = 11
	ErrorUnsupportedRequest  ErrorCode = 19
	ErrorUnsupportedRevision ErrorCode = 16
)

type FaceLandmarkRegion

type FaceLandmarkRegion struct {
	objc.Object
}

The abstract superclass for information about a specific face landmark. Full Topic

func FaceLandmarkRegionFrom

func FaceLandmarkRegionFrom(ptr unsafe.Pointer) FaceLandmarkRegion

func NewFaceLandmarkRegion

func NewFaceLandmarkRegion() FaceLandmarkRegion

func (FaceLandmarkRegion) Init

func (FaceLandmarkRegion) PointCount

func (f_ FaceLandmarkRegion) PointCount() uint

The number of points in the face region. Full Topic

type FaceLandmarkRegion2D

type FaceLandmarkRegion2D struct {
	FaceLandmarkRegion
}

2D geometry information for a specific facial feature. Full Topic

func FaceLandmarkRegion2DFrom

func FaceLandmarkRegion2DFrom(ptr unsafe.Pointer) FaceLandmarkRegion2D

func NewFaceLandmarkRegion2D

func NewFaceLandmarkRegion2D() FaceLandmarkRegion2D

func (FaceLandmarkRegion2D) Init

func (FaceLandmarkRegion2D) NormalizedPoints

func (f_ FaceLandmarkRegion2D) NormalizedPoints() *coregraphics.Point

A buffer in memory containing normalized landmark points. Full Topic

func (FaceLandmarkRegion2D) PointsInImageOfSize

func (f_ FaceLandmarkRegion2D) PointsInImageOfSize(imageSize coregraphics.Size) *coregraphics.Point

A buffer in memory containing landmark points in the coordinate space of the specified image size. Full Topic

func (FaceLandmarkRegion2D) PrecisionEstimatesPerPoint

func (f_ FaceLandmarkRegion2D) PrecisionEstimatesPerPoint() []foundation.Number

An array of precision estimates for each landmark point. Full Topic

type FaceLandmarks

type FaceLandmarks struct {
	objc.Object
}

The abstract superclass for containers of face landmark information. Full Topic

func FaceLandmarksFrom

func FaceLandmarksFrom(ptr unsafe.Pointer) FaceLandmarks

func NewFaceLandmarks

func NewFaceLandmarks() FaceLandmarks

func (FaceLandmarks) Confidence

func (f_ FaceLandmarks) Confidence() Confidence

A confidence estimate for the detected landmarks. Full Topic

func (FaceLandmarks) Init

func (f_ FaceLandmarks) Init() FaceLandmarks

type FaceLandmarks2D

type FaceLandmarks2D struct {
	FaceLandmarks
}

A collection of facial features that a request detects. Full Topic

func FaceLandmarks2DFrom

func FaceLandmarks2DFrom(ptr unsafe.Pointer) FaceLandmarks2D

func NewFaceLandmarks2D

func NewFaceLandmarks2D() FaceLandmarks2D

func (FaceLandmarks2D) AllPoints

func (f_ FaceLandmarks2D) AllPoints() FaceLandmarkRegion2D

The region containing all face landmark points. Full Topic

func (FaceLandmarks2D) FaceContour

func (f_ FaceLandmarks2D) FaceContour() FaceLandmarkRegion2D

The region containing points that trace the face contour from the left cheek, over the chin, to the right cheek. Full Topic

func (FaceLandmarks2D) Init

func (f_ FaceLandmarks2D) Init() FaceLandmarks2D

func (FaceLandmarks2D) InnerLips

func (f_ FaceLandmarks2D) InnerLips() FaceLandmarkRegion2D

The region containing points that outline the space between the lips. Full Topic

func (FaceLandmarks2D) LeftEye

The region containing points that outline the left eye. Full Topic

func (FaceLandmarks2D) LeftEyebrow

func (f_ FaceLandmarks2D) LeftEyebrow() FaceLandmarkRegion2D

The region containing points that trace the left eyebrow. Full Topic

func (FaceLandmarks2D) LeftPupil

func (f_ FaceLandmarks2D) LeftPupil() FaceLandmarkRegion2D

The region containing the point where the left pupil is located. Full Topic

func (FaceLandmarks2D) MedianLine

func (f_ FaceLandmarks2D) MedianLine() FaceLandmarkRegion2D

The region containing points that trace a vertical line down the center of the face. Full Topic

func (FaceLandmarks2D) Nose

The region containing points that outline the nose. Full Topic

func (FaceLandmarks2D) NoseCrest

func (f_ FaceLandmarks2D) NoseCrest() FaceLandmarkRegion2D

The region containing points that trace the center crest of the nose. Full Topic

func (FaceLandmarks2D) OuterLips

func (f_ FaceLandmarks2D) OuterLips() FaceLandmarkRegion2D

The region containing points that outline the outside of the lips. Full Topic

func (FaceLandmarks2D) RightEye

func (f_ FaceLandmarks2D) RightEye() FaceLandmarkRegion2D

The region containing points that outline the right eye. Full Topic

func (FaceLandmarks2D) RightEyebrow

func (f_ FaceLandmarks2D) RightEyebrow() FaceLandmarkRegion2D

The region containing points that trace the right eyebrow. Full Topic

func (FaceLandmarks2D) RightPupil

func (f_ FaceLandmarks2D) RightPupil() FaceLandmarkRegion2D

The region containing the point where the right pupil is located. Full Topic

type FaceObservation

type FaceObservation struct {
	DetectedObjectObservation
}

Face or facial-feature information that an image analysis request detects. Full Topic

func FaceObservationFrom

func FaceObservationFrom(ptr unsafe.Pointer) FaceObservation

func FaceObservation_FaceObservationWithRequestRevisionBoundingBoxRollYawPitch

func FaceObservation_FaceObservationWithRequestRevisionBoundingBoxRollYawPitch(requestRevision uint, boundingBox coregraphics.Rect, roll foundation.INumber, yaw foundation.INumber, pitch foundation.INumber) FaceObservation

Creates an observation that contains the roll, yaw, and pitch of the face. Full Topic

func FaceObservation_ObservationWithBoundingBox

func FaceObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) FaceObservation

Creates an observation with a bounding box. Full Topic

func FaceObservation_ObservationWithRequestRevisionBoundingBox

func FaceObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) FaceObservation

Creates an observation with a revision number and bounding box. Full Topic

func NewFaceObservation

func NewFaceObservation() FaceObservation

func (FaceObservation) FaceCaptureQuality

func (f_ FaceObservation) FaceCaptureQuality() foundation.Number

A value that indicates the quality of the face capture. Full Topic

func (FaceObservation) Init

func (f_ FaceObservation) Init() FaceObservation

func (FaceObservation) Landmarks

func (f_ FaceObservation) Landmarks() FaceLandmarks2D

The facial features of the detected face. Full Topic

func (FaceObservation) Pitch

func (f_ FaceObservation) Pitch() foundation.Number

The pitch angle of a face in radians. Full Topic

func (FaceObservation) Roll

func (f_ FaceObservation) Roll() foundation.Number

The roll angle of a face in radians. Full Topic

func (FaceObservation) Yaw

The yaw angle of a face in radians. Full Topic

type FaceObservationAcceptingObject

type FaceObservationAcceptingObject struct {
	objc.Object
}

A concrete type for the PFaceObservationAccepting protocol.

func (FaceObservationAcceptingObject) HasInputFaceObservations

func (f_ FaceObservationAcceptingObject) HasInputFaceObservations() bool

func (FaceObservationAcceptingObject) HasSetInputFaceObservations

func (f_ FaceObservationAcceptingObject) HasSetInputFaceObservations() bool

func (FaceObservationAcceptingObject) InputFaceObservations

func (f_ FaceObservationAcceptingObject) InputFaceObservations() []FaceObservation

An array of VNFaceObservation objects to process as part of the request. Full Topic

func (FaceObservationAcceptingObject) SetInputFaceObservations

func (f_ FaceObservationAcceptingObject) SetInputFaceObservations(value []FaceObservation)

An array of VNFaceObservation objects to process as part of the request. Full Topic

type FeaturePrintObservation

type FeaturePrintObservation struct {
	Observation
}

An observation that provides the recognized feature print. Full Topic

func FeaturePrintObservationFrom

func FeaturePrintObservationFrom(ptr unsafe.Pointer) FeaturePrintObservation

func NewFeaturePrintObservation

func NewFeaturePrintObservation() FeaturePrintObservation

func (FeaturePrintObservation) ComputeDistanceToFeaturePrintObservationError

func (f_ FeaturePrintObservation) ComputeDistanceToFeaturePrintObservationError(outDistance *float64, featurePrint IFeaturePrintObservation, error foundation.IError) bool

Computes the distance between two feature print observations. Full Topic

func (FeaturePrintObservation) Data

func (f_ FeaturePrintObservation) Data() []byte

The feature print data. Full Topic

func (FeaturePrintObservation) ElementCount

func (f_ FeaturePrintObservation) ElementCount() uint

The total number of elements in the data. Full Topic

func (FeaturePrintObservation) ElementType

func (f_ FeaturePrintObservation) ElementType() ElementType

The type of each element in the data. Full Topic

func (FeaturePrintObservation) Init

type GenerateAttentionBasedSaliencyImageRequest

type GenerateAttentionBasedSaliencyImageRequest struct {
	ImageBasedRequest
}

An object that produces a heat map that identifies the parts of an image most likely to draw attention. Full Topic

func NewGenerateAttentionBasedSaliencyImageRequest

func NewGenerateAttentionBasedSaliencyImageRequest() GenerateAttentionBasedSaliencyImageRequest

func NewGenerateAttentionBasedSaliencyImageRequestWithCompletionHandler

func NewGenerateAttentionBasedSaliencyImageRequestWithCompletionHandler(completionHandler RequestCompletionHandler) GenerateAttentionBasedSaliencyImageRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (GenerateAttentionBasedSaliencyImageRequest) Init

func (GenerateAttentionBasedSaliencyImageRequest) InitWithCompletionHandler

type GenerateImageFeaturePrintRequest

type GenerateImageFeaturePrintRequest struct {
	ImageBasedRequest
}

An image-based request to generate feature prints from an image. Full Topic

func GenerateImageFeaturePrintRequestFrom

func GenerateImageFeaturePrintRequestFrom(ptr unsafe.Pointer) GenerateImageFeaturePrintRequest

func NewGenerateImageFeaturePrintRequest

func NewGenerateImageFeaturePrintRequest() GenerateImageFeaturePrintRequest

func NewGenerateImageFeaturePrintRequestWithCompletionHandler

func NewGenerateImageFeaturePrintRequestWithCompletionHandler(completionHandler RequestCompletionHandler) GenerateImageFeaturePrintRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (GenerateImageFeaturePrintRequest) ImageCropAndScaleOption

func (g_ GenerateImageFeaturePrintRequest) ImageCropAndScaleOption() ImageCropAndScaleOption

An optional setting that tells the algorithm how to scale an input image before generating the feature print. Full Topic

func (GenerateImageFeaturePrintRequest) Init

func (GenerateImageFeaturePrintRequest) InitWithCompletionHandler

func (g_ GenerateImageFeaturePrintRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) GenerateImageFeaturePrintRequest

func (GenerateImageFeaturePrintRequest) SetImageCropAndScaleOption

func (g_ GenerateImageFeaturePrintRequest) SetImageCropAndScaleOption(value ImageCropAndScaleOption)

An optional setting that tells the algorithm how to scale an input image before generating the feature print. Full Topic

type GenerateObjectnessBasedSaliencyImageRequest

type GenerateObjectnessBasedSaliencyImageRequest struct {
	ImageBasedRequest
}

A request that generates a heat map that identifies the parts of an image most likely to represent objects. Full Topic

func NewGenerateObjectnessBasedSaliencyImageRequest

func NewGenerateObjectnessBasedSaliencyImageRequest() GenerateObjectnessBasedSaliencyImageRequest

func NewGenerateObjectnessBasedSaliencyImageRequestWithCompletionHandler

func NewGenerateObjectnessBasedSaliencyImageRequestWithCompletionHandler(completionHandler RequestCompletionHandler) GenerateObjectnessBasedSaliencyImageRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (GenerateObjectnessBasedSaliencyImageRequest) Init

func (GenerateObjectnessBasedSaliencyImageRequest) InitWithCompletionHandler

type GenerateOpticalFlowRequest

type GenerateOpticalFlowRequest struct {
	TargetedImageRequest
}

An object that generates directional change vectors for each pixel in the targeted image. Full Topic

func GenerateOpticalFlowRequestFrom

func GenerateOpticalFlowRequestFrom(ptr unsafe.Pointer) GenerateOpticalFlowRequest

func NewGenerateOpticalFlowRequest

func NewGenerateOpticalFlowRequest() GenerateOpticalFlowRequest

func NewGenerateOpticalFlowRequestWithCompletionHandler

func NewGenerateOpticalFlowRequestWithCompletionHandler(completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCGImageOptions

func NewGenerateOpticalFlowRequestWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting a Core Graphics image. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCGImageOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting a Core Graphics image, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCGImageOrientationOptions

func NewGenerateOpticalFlowRequestWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting a Core Graphics image of known orientation. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCGImageOrientationOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCIImageOptions

func NewGenerateOpticalFlowRequestWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting a CIImage. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCIImageOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting a CIImage, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCIImageOrientationOptions

func NewGenerateOpticalFlowRequestWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting a CIImage of known orientation. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCIImageOrientationOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting a CIImage of known orientation, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOptions

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request that targets an image in a sample buffer. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request with a completion handler that targets an image in a sample buffer. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOrientationOptions

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request that targets an image of a known orientation in a sample buffer. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request with a completion handler that targets an image of a known orientation in a sample buffer. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOptions

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting an image in a CVPixelBufferRef. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting an image in a CVPixelBufferRef, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOrientationOptions

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageDataOptions

func NewGenerateOpticalFlowRequestWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting an image as raw data. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageDataOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting an image as raw data, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageDataOrientationOptions

func NewGenerateOpticalFlowRequestWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting a raw data image of known orientation. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageDataOrientationOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting a raw data image of known orientation, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageURLOptions

func NewGenerateOpticalFlowRequestWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting an image at the specified URL. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageURLOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting an image at the specified URL, executing the completion handler when done. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageURLOrientationOptions

func NewGenerateOpticalFlowRequestWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

Creates a new request targeting an image of known orientation, at the specified URL. Full Topic

func NewGenerateOpticalFlowRequestWithTargetedImageURLOrientationOptionsCompletionHandler

func NewGenerateOpticalFlowRequestWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

Creates a new request targeting an image of known orientation, at the specified URL, executing the completion handler when done. Full Topic

func (GenerateOpticalFlowRequest) ComputationAccuracy

The accuracy level for computing optical flow. Full Topic

func (GenerateOpticalFlowRequest) Init

func (GenerateOpticalFlowRequest) InitWithCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCGImageOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCGImageOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCGImageOrientationOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCIImageOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCIImageOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCIImageOrientationOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOrientationOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOrientationOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageDataOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageDataOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageDataOrientationOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageURLOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageURLOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageURLOrientationOptions

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler

func (g_ GenerateOpticalFlowRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) GenerateOpticalFlowRequest

func (GenerateOpticalFlowRequest) OutputPixelFormat

func (g_ GenerateOpticalFlowRequest) OutputPixelFormat() uint

The output buffer’s pixel format. Full Topic

func (GenerateOpticalFlowRequest) SetComputationAccuracy

The accuracy level for computing optical flow. Full Topic

func (GenerateOpticalFlowRequest) SetOutputPixelFormat

func (g_ GenerateOpticalFlowRequest) SetOutputPixelFormat(value uint)

The output buffer’s pixel format. Full Topic

type GenerateOpticalFlowRequestComputationAccuracy

type GenerateOpticalFlowRequestComputationAccuracy uint

The supported optical flow accuracy levels. Full Topic

const (
	GenerateOpticalFlowRequestComputationAccuracyHigh     GenerateOpticalFlowRequestComputationAccuracy = 2
	GenerateOpticalFlowRequestComputationAccuracyLow      GenerateOpticalFlowRequestComputationAccuracy = 0
	GenerateOpticalFlowRequestComputationAccuracyMedium   GenerateOpticalFlowRequestComputationAccuracy = 1
	GenerateOpticalFlowRequestComputationAccuracyVeryHigh GenerateOpticalFlowRequestComputationAccuracy = 3
)

type GeneratePersonSegmentationRequest

type GeneratePersonSegmentationRequest struct {
	StatefulRequest
}

An object that produces a matte image for a person it finds in the input image. Full Topic

func GeneratePersonSegmentationRequestFrom

func GeneratePersonSegmentationRequestFrom(ptr unsafe.Pointer) GeneratePersonSegmentationRequest

func NewGeneratePersonSegmentationRequest

func NewGeneratePersonSegmentationRequest() GeneratePersonSegmentationRequest

func NewGeneratePersonSegmentationRequestWithCompletionHandler

func NewGeneratePersonSegmentationRequestWithCompletionHandler(completionHandler RequestCompletionHandler) GeneratePersonSegmentationRequest

Creates a generate person segmentation request with a completion handler. Full Topic

func NewGeneratePersonSegmentationRequestWithFrameAnalysisSpacingCompletionHandler

func NewGeneratePersonSegmentationRequestWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing coremedia.Time, completionHandler RequestCompletionHandler) GeneratePersonSegmentationRequest

Initializes a video-based request. Full Topic

func (GeneratePersonSegmentationRequest) Init

func (GeneratePersonSegmentationRequest) InitWithCompletionHandler

func (GeneratePersonSegmentationRequest) InitWithFrameAnalysisSpacingCompletionHandler

func (g_ GeneratePersonSegmentationRequest) InitWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing coremedia.Time, completionHandler RequestCompletionHandler) GeneratePersonSegmentationRequest

func (GeneratePersonSegmentationRequest) OutputPixelFormat

func (g_ GeneratePersonSegmentationRequest) OutputPixelFormat() uint

The pixel format of the output image. Full Topic

func (GeneratePersonSegmentationRequest) QualityLevel

A value that indicates how the request balances accuracy and performance. Full Topic

func (GeneratePersonSegmentationRequest) SetOutputPixelFormat

func (g_ GeneratePersonSegmentationRequest) SetOutputPixelFormat(value uint)

The pixel format of the output image. Full Topic

func (GeneratePersonSegmentationRequest) SetQualityLevel

A value that indicates how the request balances accuracy and performance. Full Topic

type GeneratePersonSegmentationRequestQualityLevel

type GeneratePersonSegmentationRequestQualityLevel uint

Constants that define the levels of quality for a person segmentation request. Full Topic

const (
	GeneratePersonSegmentationRequestQualityLevelAccurate GeneratePersonSegmentationRequestQualityLevel = 0
	GeneratePersonSegmentationRequestQualityLevelBalanced GeneratePersonSegmentationRequestQualityLevel = 1
	GeneratePersonSegmentationRequestQualityLevelFast     GeneratePersonSegmentationRequestQualityLevel = 2
)

type GeometryUtils

type GeometryUtils struct {
	objc.Object
}

Utility methods to determine the geometries of various Vision types. Full Topic

func GeometryUtilsFrom

func GeometryUtilsFrom(ptr unsafe.Pointer) GeometryUtils

func NewGeometryUtils

func NewGeometryUtils() GeometryUtils

func (GeometryUtils) Init

func (g_ GeometryUtils) Init() GeometryUtils

type HomographicImageRegistrationRequest

type HomographicImageRegistrationRequest struct {
	ImageRegistrationRequest
}

An image analysis request that determines the perspective warp matrix necessary to align the content of two images. Full Topic

func HomographicImageRegistrationRequestFrom

func HomographicImageRegistrationRequestFrom(ptr unsafe.Pointer) HomographicImageRegistrationRequest

func NewHomographicImageRegistrationRequest

func NewHomographicImageRegistrationRequest() HomographicImageRegistrationRequest

func NewHomographicImageRegistrationRequestWithCompletionHandler

func NewHomographicImageRegistrationRequestWithCompletionHandler(completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCGImageOptions

func NewHomographicImageRegistrationRequestWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting a Core Graphics image. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCGImageOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting a Core Graphics image, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCGImageOrientationOptions

func NewHomographicImageRegistrationRequestWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting a Core Graphics image of known orientation. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCGImageOrientationOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCIImageOptions

func NewHomographicImageRegistrationRequestWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting a CIImage. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCIImageOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting a CIImage, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCIImageOrientationOptions

func NewHomographicImageRegistrationRequestWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting a CIImage of known orientation. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCIImageOrientationOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting a CIImage of known orientation, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOptions

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request that targets an image in a sample buffer. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request with a completion handler that targets an image in a sample buffer. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptions

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request that targets an image of a known orientation in a sample buffer. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request with a completion handler that targets an image of a known orientation in a sample buffer. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOptions

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptions

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageDataOptions

func NewHomographicImageRegistrationRequestWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting an image as raw data. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageDataOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting an image as raw data, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageDataOrientationOptions

func NewHomographicImageRegistrationRequestWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting a raw data image of known orientation. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageDataOrientationOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting a raw data image of known orientation, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageURLOptions

func NewHomographicImageRegistrationRequestWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting an image at the specified URL. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageURLOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting an image at the specified URL, executing the completion handler when done. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageURLOrientationOptions

func NewHomographicImageRegistrationRequestWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

Creates a new request targeting an image of known orientation, at the specified URL. Full Topic

func NewHomographicImageRegistrationRequestWithTargetedImageURLOrientationOptionsCompletionHandler

func NewHomographicImageRegistrationRequestWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

Creates a new request targeting an image of known orientation, at the specified URL, executing the completion handler when done. Full Topic

func (HomographicImageRegistrationRequest) Init

func (HomographicImageRegistrationRequest) InitWithCompletionHandler

func (HomographicImageRegistrationRequest) InitWithTargetedCGImageOptions

func (HomographicImageRegistrationRequest) InitWithTargetedCGImageOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCGImageOrientationOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCIImageOptions

func (HomographicImageRegistrationRequest) InitWithTargetedCIImageOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCIImageOrientationOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageDataOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageDataOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageDataOrientationOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageURLOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageURLOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageURLOrientationOptions

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) HomographicImageRegistrationRequest

func (HomographicImageRegistrationRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler

func (h_ HomographicImageRegistrationRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) HomographicImageRegistrationRequest

type HorizonObservation

type HorizonObservation struct {
	Observation
}

The horizon angle information that an image analysis request detects. Full Topic

func HorizonObservationFrom

func HorizonObservationFrom(ptr unsafe.Pointer) HorizonObservation

func NewHorizonObservation

func NewHorizonObservation() HorizonObservation

func (HorizonObservation) Angle

func (h_ HorizonObservation) Angle() float64

The angle of the observed horizon. Full Topic

func (HorizonObservation) Init

func (HorizonObservation) Transform

The transform to apply to the detected horizon. Full Topic

type HumanBodyPoseObservation

type HumanBodyPoseObservation struct {
	RecognizedPointsObservation
}

An observation that provides the body points the analysis recognized. Full Topic

func HumanBodyPoseObservationFrom

func HumanBodyPoseObservationFrom(ptr unsafe.Pointer) HumanBodyPoseObservation

func NewHumanBodyPoseObservation

func NewHumanBodyPoseObservation() HumanBodyPoseObservation

func (HumanBodyPoseObservation) AvailableJointNames

The names of the available joints in the observation. Full Topic

func (HumanBodyPoseObservation) AvailableJointsGroupNames

func (h_ HumanBodyPoseObservation) AvailableJointsGroupNames() []HumanBodyPoseObservationJointsGroupName

The available joint group names in the observation. Full Topic

func (HumanBodyPoseObservation) Init

func (HumanBodyPoseObservation) RecognizedPointForJointNameError

func (h_ HumanBodyPoseObservation) RecognizedPointForJointNameError(jointName HumanBodyPoseObservationJointName, error foundation.IError) RecognizedPoint

Retrieves the recognized point for a joint name. Full Topic

func (HumanBodyPoseObservation) RecognizedPointsForJointsGroupNameError

func (h_ HumanBodyPoseObservation) RecognizedPointsForJointsGroupNameError(jointsGroupName HumanBodyPoseObservationJointsGroupName, error foundation.IError) map[HumanBodyPoseObservationJointName]RecognizedPoint

Retrieves the recognized points associated with the joint group name. Full Topic

type HumanBodyPoseObservationJointName

type HumanBodyPoseObservationJointName RecognizedPointKey

The supported joint names for the body pose. Full Topic

const (
	HumanBodyPoseObservationJointNameLeftAnkle     HumanBodyPoseObservationJointName = "left_foot_joint"
	HumanBodyPoseObservationJointNameLeftEar       HumanBodyPoseObservationJointName = "left_ear_joint"
	HumanBodyPoseObservationJointNameLeftElbow     HumanBodyPoseObservationJointName = "left_forearm_joint"
	HumanBodyPoseObservationJointNameLeftEye       HumanBodyPoseObservationJointName = "left_eye_joint"
	HumanBodyPoseObservationJointNameLeftHip       HumanBodyPoseObservationJointName = "left_upLeg_joint"
	HumanBodyPoseObservationJointNameLeftKnee      HumanBodyPoseObservationJointName = "left_leg_joint"
	HumanBodyPoseObservationJointNameLeftShoulder  HumanBodyPoseObservationJointName = "left_shoulder_1_joint"
	HumanBodyPoseObservationJointNameLeftWrist     HumanBodyPoseObservationJointName = "left_hand_joint"
	HumanBodyPoseObservationJointNameNeck          HumanBodyPoseObservationJointName = "neck_1_joint"
	HumanBodyPoseObservationJointNameNose          HumanBodyPoseObservationJointName = "head_joint"
	HumanBodyPoseObservationJointNameRightAnkle    HumanBodyPoseObservationJointName = "right_foot_joint"
	HumanBodyPoseObservationJointNameRightEar      HumanBodyPoseObservationJointName = "right_ear_joint"
	HumanBodyPoseObservationJointNameRightElbow    HumanBodyPoseObservationJointName = "right_forearm_joint"
	HumanBodyPoseObservationJointNameRightEye      HumanBodyPoseObservationJointName = "right_eye_joint"
	HumanBodyPoseObservationJointNameRightHip      HumanBodyPoseObservationJointName = "right_upLeg_joint"
	HumanBodyPoseObservationJointNameRightKnee     HumanBodyPoseObservationJointName = "right_leg_joint"
	HumanBodyPoseObservationJointNameRightShoulder HumanBodyPoseObservationJointName = "right_shoulder_1_joint"
	HumanBodyPoseObservationJointNameRightWrist    HumanBodyPoseObservationJointName = "right_hand_joint"
	HumanBodyPoseObservationJointNameRoot          HumanBodyPoseObservationJointName = "root"
)

type HumanBodyPoseObservationJointsGroupName

type HumanBodyPoseObservationJointsGroupName RecognizedPointGroupKey

The supported joint group names for the body pose. Full Topic

const (
	HumanBodyPoseObservationJointsGroupNameAll      HumanBodyPoseObservationJointsGroupName = "VNIPOAll"
	HumanBodyPoseObservationJointsGroupNameFace     HumanBodyPoseObservationJointsGroupName = "VNBLKFACE"
	HumanBodyPoseObservationJointsGroupNameLeftArm  HumanBodyPoseObservationJointsGroupName = "VNBLKLARM"
	HumanBodyPoseObservationJointsGroupNameLeftLeg  HumanBodyPoseObservationJointsGroupName = "VNBLKLLEG"
	HumanBodyPoseObservationJointsGroupNameRightArm HumanBodyPoseObservationJointsGroupName = "VNBLKRARM"
	HumanBodyPoseObservationJointsGroupNameRightLeg HumanBodyPoseObservationJointsGroupName = "VNBLKRLEG"
	HumanBodyPoseObservationJointsGroupNameTorso    HumanBodyPoseObservationJointsGroupName = "VNBLKTORSO"
)

type HumanHandPoseObservation

type HumanHandPoseObservation struct {
	RecognizedPointsObservation
}

An observation that provides the hand points the analysis recognized. Full Topic

func HumanHandPoseObservationFrom

func HumanHandPoseObservationFrom(ptr unsafe.Pointer) HumanHandPoseObservation

func NewHumanHandPoseObservation

func NewHumanHandPoseObservation() HumanHandPoseObservation

func (HumanHandPoseObservation) AvailableJointNames

The names of the available joints in the observation. Full Topic

func (HumanHandPoseObservation) AvailableJointsGroupNames

func (h_ HumanHandPoseObservation) AvailableJointsGroupNames() []HumanHandPoseObservationJointsGroupName

The joint group names available in the observation. Full Topic

func (HumanHandPoseObservation) Chirality

func (h_ HumanHandPoseObservation) Chirality() Chirality

The chirality, or handedness, of a pose. Full Topic

func (HumanHandPoseObservation) Init

func (HumanHandPoseObservation) RecognizedPointForJointNameError

func (h_ HumanHandPoseObservation) RecognizedPointForJointNameError(jointName HumanHandPoseObservationJointName, error foundation.IError) RecognizedPoint

Retrieves the recognized point for a joint name. Full Topic

func (HumanHandPoseObservation) RecognizedPointsForJointsGroupNameError

func (h_ HumanHandPoseObservation) RecognizedPointsForJointsGroupNameError(jointsGroupName HumanHandPoseObservationJointsGroupName, error foundation.IError) map[HumanHandPoseObservationJointName]RecognizedPoint

Retrieves the recognized points associated with the joint group name. Full Topic

type HumanHandPoseObservationJointName

type HumanHandPoseObservationJointName RecognizedPointKey

The supported joint names for the hand pose. Full Topic

const (
	HumanHandPoseObservationJointNameIndexDIP  HumanHandPoseObservationJointName = "VNHLKIDIP"
	HumanHandPoseObservationJointNameIndexMCP  HumanHandPoseObservationJointName = "VNHLKIMCP"
	HumanHandPoseObservationJointNameIndexPIP  HumanHandPoseObservationJointName = "VNHLKIPIP"
	HumanHandPoseObservationJointNameIndexTip  HumanHandPoseObservationJointName = "VNHLKITIP"
	HumanHandPoseObservationJointNameLittleDIP HumanHandPoseObservationJointName = "VNHLKPDIP"
	HumanHandPoseObservationJointNameLittleMCP HumanHandPoseObservationJointName = "VNHLKPMCP"
	HumanHandPoseObservationJointNameLittlePIP HumanHandPoseObservationJointName = "VNHLKPPIP"
	HumanHandPoseObservationJointNameLittleTip HumanHandPoseObservationJointName = "VNHLKPTIP"
	HumanHandPoseObservationJointNameMiddleDIP HumanHandPoseObservationJointName = "VNHLKMDIP"
	HumanHandPoseObservationJointNameMiddleMCP HumanHandPoseObservationJointName = "VNHLKMMCP"
	HumanHandPoseObservationJointNameMiddlePIP HumanHandPoseObservationJointName = "VNHLKMPIP"
	HumanHandPoseObservationJointNameMiddleTip HumanHandPoseObservationJointName = "VNHLKMTIP"
	HumanHandPoseObservationJointNameRingDIP   HumanHandPoseObservationJointName = "VNHLKRDIP"
	HumanHandPoseObservationJointNameRingMCP   HumanHandPoseObservationJointName = "VNHLKRMCP"
	HumanHandPoseObservationJointNameRingPIP   HumanHandPoseObservationJointName = "VNHLKRPIP"
	HumanHandPoseObservationJointNameRingTip   HumanHandPoseObservationJointName = "VNHLKRTIP"
	HumanHandPoseObservationJointNameThumbCMC  HumanHandPoseObservationJointName = "VNHLKTCMC"
	HumanHandPoseObservationJointNameThumbIP   HumanHandPoseObservationJointName = "VNHLKTIP"
	HumanHandPoseObservationJointNameThumbMP   HumanHandPoseObservationJointName = "VNHLKTMP"
	HumanHandPoseObservationJointNameThumbTip  HumanHandPoseObservationJointName = "VNHLKTTIP"
	HumanHandPoseObservationJointNameWrist     HumanHandPoseObservationJointName = "VNHLKWRI"
)

type HumanHandPoseObservationJointsGroupName

type HumanHandPoseObservationJointsGroupName RecognizedPointGroupKey

The supported joint group names for the hand pose. Full Topic

const (
	HumanHandPoseObservationJointsGroupNameAll          HumanHandPoseObservationJointsGroupName = "VNIPOAll"
	HumanHandPoseObservationJointsGroupNameIndexFinger  HumanHandPoseObservationJointsGroupName = "VNHLRKI"
	HumanHandPoseObservationJointsGroupNameLittleFinger HumanHandPoseObservationJointsGroupName = "VNHLRKP"
	HumanHandPoseObservationJointsGroupNameMiddleFinger HumanHandPoseObservationJointsGroupName = "VNHLRKM"
	HumanHandPoseObservationJointsGroupNameRingFinger   HumanHandPoseObservationJointsGroupName = "VNHLRKR"
	HumanHandPoseObservationJointsGroupNameThumb        HumanHandPoseObservationJointsGroupName = "VNHLRKT"
)

type HumanObservation

type HumanObservation struct {
	DetectedObjectObservation
}

An object that represents a person that the request detects. Full Topic

func HumanObservationFrom

func HumanObservationFrom(ptr unsafe.Pointer) HumanObservation

func HumanObservation_ObservationWithBoundingBox

func HumanObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) HumanObservation

Creates an observation with a bounding box. Full Topic

func HumanObservation_ObservationWithRequestRevisionBoundingBox

func HumanObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) HumanObservation

Creates an observation with a revision number and bounding box. Full Topic

func NewHumanObservation

func NewHumanObservation() HumanObservation

func (HumanObservation) Init

func (HumanObservation) UpperBodyOnly

func (h_ HumanObservation) UpperBodyOnly() bool

A Boolean value that indicates whether the observation represents an upper-body or full-body rectangle. Full Topic

type IBarcodeObservation

type IBarcodeObservation interface {
	IRectangleObservation
	Symbology() BarcodeSymbology
	BarcodeDescriptor() coreimage.BarcodeDescriptor
	PayloadStringValue() string
}

An interface definition for the BarcodeObservation class.

type ICircle

type ICircle interface {
	objc.IObject
	ContainsPointInCircumferentialRingOfWidth(point IPoint, ringWidth float64) bool
	ContainsPoint(point IPoint) bool
	Diameter() float64
	Radius() float64
	Center() Point
}

An interface definition for the Circle class.

type IClassificationObservation

type IClassificationObservation interface {
	IObservation
	HasMinimumRecallForPrecision(minimumRecall float64, precision float64) bool
	HasMinimumPrecisionForRecall(minimumPrecision float64, recall float64) bool
	Identifier() string
	HasPrecisionRecallCurve() bool
}

An interface definition for the ClassificationObservation class.

type IClassifyImageRequest

type IClassifyImageRequest interface {
	IImageBasedRequest
	SupportedIdentifiersAndReturnError(error foundation.IError) []string
}

An interface definition for the ClassifyImageRequest class.

type IContour

type IContour interface {
	objc.IObject
	PolygonApproximationWithEpsilonError(epsilon float64, error foundation.IError) Contour
	ChildContourAtIndexError(childContourIndex uint, error foundation.IError) Contour
	NormalizedPoints() objc.Object
	AspectRatio() float64
	IndexPath() foundation.IndexPath
	ChildContours() []Contour
	PointCount() int
	NormalizedPath() unsafe.Pointer
	ChildContourCount() int
}

An interface definition for the Contour class.

type IContoursObservation

type IContoursObservation interface {
	IObservation
	ContourAtIndexError(contourIndex int, error foundation.IError) Contour
	ContourAtIndexPathError(indexPath foundation.IIndexPath, error foundation.IError) Contour
	TopLevelContours() []Contour
	ContourCount() int
	TopLevelContourCount() int
	NormalizedPath() unsafe.Pointer
}

An interface definition for the ContoursObservation class.

type ICoreMLFeatureValueObservation

type ICoreMLFeatureValueObservation interface {
	IObservation
	FeatureName() string
	FeatureValue() coreml.FeatureValue
}

An interface definition for the CoreMLFeatureValueObservation class.

type ICoreMLModel

type ICoreMLModel interface {
	objc.IObject
	FeatureProvider() coreml.FeatureProviderObject
	SetFeatureProvider(value coreml.PFeatureProvider)
	SetFeatureProviderObject(valueObject objc.IObject)
	InputImageFeatureName() string
	SetInputImageFeatureName(value string)
}

An interface definition for the CoreMLModel class.

type ICoreMLRequest

type ICoreMLRequest interface {
	IImageBasedRequest
	ImageCropAndScaleOption() ImageCropAndScaleOption
	SetImageCropAndScaleOption(value ImageCropAndScaleOption)
	Model() CoreMLModel
}

An interface definition for the CoreMLRequest class.

type IDetectBarcodesRequest

type IDetectBarcodesRequest interface {
	IImageBasedRequest
	SupportedSymbologiesAndReturnError(error foundation.IError) []BarcodeSymbology
	Symbologies() []BarcodeSymbology
	SetSymbologies(value []BarcodeSymbology)
}

An interface definition for the DetectBarcodesRequest class.

type IDetectContoursRequest

type IDetectContoursRequest interface {
	IImageBasedRequest
	ContrastAdjustment() float64
	SetContrastAdjustment(value float64)
	DetectsDarkOnLight() bool
	SetDetectsDarkOnLight(value bool)
	MaximumImageDimension() uint
	SetMaximumImageDimension(value uint)
	ContrastPivot() foundation.Number
	SetContrastPivot(value foundation.INumber)
}

An interface definition for the DetectContoursRequest class.

type IDetectDocumentSegmentationRequest

type IDetectDocumentSegmentationRequest interface {
	IImageBasedRequest
}

An interface definition for the DetectDocumentSegmentationRequest class.

type IDetectFaceCaptureQualityRequest

type IDetectFaceCaptureQualityRequest interface {
	IImageBasedRequest
}

An interface definition for the DetectFaceCaptureQualityRequest class.

type IDetectFaceLandmarksRequest

type IDetectFaceLandmarksRequest interface {
	IImageBasedRequest
	Constellation() RequestFaceLandmarksConstellation
	SetConstellation(value RequestFaceLandmarksConstellation)
}

An interface definition for the DetectFaceLandmarksRequest class.

type IDetectFaceRectanglesRequest

type IDetectFaceRectanglesRequest interface {
	IImageBasedRequest
}

An interface definition for the DetectFaceRectanglesRequest class.

type IDetectHorizonRequest

type IDetectHorizonRequest interface {
	IImageBasedRequest
}

An interface definition for the DetectHorizonRequest class.

type IDetectHumanBodyPoseRequest

type IDetectHumanBodyPoseRequest interface {
	IImageBasedRequest
}

An interface definition for the DetectHumanBodyPoseRequest class.

type IDetectHumanHandPoseRequest

type IDetectHumanHandPoseRequest interface {
	IImageBasedRequest
	MaximumHandCount() uint
	SetMaximumHandCount(value uint)
}

An interface definition for the DetectHumanHandPoseRequest class.

type IDetectHumanRectanglesRequest

type IDetectHumanRectanglesRequest interface {
	IImageBasedRequest
	UpperBodyOnly() bool
	SetUpperBodyOnly(value bool)
}

An interface definition for the DetectHumanRectanglesRequest class.

type IDetectRectanglesRequest

type IDetectRectanglesRequest interface {
	IImageBasedRequest
	MinimumConfidence() Confidence
	SetMinimumConfidence(value Confidence)
	MaximumAspectRatio() AspectRatio
	SetMaximumAspectRatio(value AspectRatio)
	MinimumAspectRatio() AspectRatio
	SetMinimumAspectRatio(value AspectRatio)
	MinimumSize() float64
	SetMinimumSize(value float64)
	QuadratureTolerance() Degrees
	SetQuadratureTolerance(value Degrees)
	MaximumObservations() uint
	SetMaximumObservations(value uint)
}

An interface definition for the DetectRectanglesRequest class.

type IDetectTextRectanglesRequest

type IDetectTextRectanglesRequest interface {
	IImageBasedRequest
	ReportCharacterBoxes() bool
	SetReportCharacterBoxes(value bool)
}

An interface definition for the DetectTextRectanglesRequest class.

type IDetectTrajectoriesRequest

type IDetectTrajectoriesRequest interface {
	IStatefulRequest
	ObjectMinimumNormalizedRadius() float64
	SetObjectMinimumNormalizedRadius(value float64)
	TargetFrameTime() coremedia.Time
	SetTargetFrameTime(value coremedia.Time)
	ObjectMaximumNormalizedRadius() float64
	SetObjectMaximumNormalizedRadius(value float64)
	TrajectoryLength() int
}

An interface definition for the DetectTrajectoriesRequest class.

type IDetectedObjectObservation

type IDetectedObjectObservation interface {
	IObservation
	GlobalSegmentationMask() PixelBufferObservation
	BoundingBox() coregraphics.Rect
}

An interface definition for the DetectedObjectObservation class.

type IDetectedPoint

type IDetectedPoint interface {
	IPoint
	Confidence() Confidence
}

An interface definition for the DetectedPoint class.

type IFaceLandmarkRegion

type IFaceLandmarkRegion interface {
	objc.IObject
	PointCount() uint
}

An interface definition for the FaceLandmarkRegion class.

type IFaceLandmarkRegion2D

type IFaceLandmarkRegion2D interface {
	IFaceLandmarkRegion
	PointsInImageOfSize(imageSize coregraphics.Size) *coregraphics.Point
	NormalizedPoints() *coregraphics.Point
	PrecisionEstimatesPerPoint() []foundation.Number
}

An interface definition for the FaceLandmarkRegion2D class.

type IFaceLandmarks

type IFaceLandmarks interface {
	objc.IObject
	Confidence() Confidence
}

An interface definition for the FaceLandmarks class.

type IFaceLandmarks2D

type IFaceLandmarks2D interface {
	IFaceLandmarks
	AllPoints() FaceLandmarkRegion2D
	Nose() FaceLandmarkRegion2D
	RightEye() FaceLandmarkRegion2D
	RightEyebrow() FaceLandmarkRegion2D
	NoseCrest() FaceLandmarkRegion2D
	RightPupil() FaceLandmarkRegion2D
	OuterLips() FaceLandmarkRegion2D
	LeftPupil() FaceLandmarkRegion2D
	LeftEyebrow() FaceLandmarkRegion2D
	FaceContour() FaceLandmarkRegion2D
	InnerLips() FaceLandmarkRegion2D
	MedianLine() FaceLandmarkRegion2D
	LeftEye() FaceLandmarkRegion2D
}

An interface definition for the FaceLandmarks2D class.

type IFaceObservation

type IFaceObservation interface {
	IDetectedObjectObservation
	Roll() foundation.Number
	Pitch() foundation.Number
	Yaw() foundation.Number
	Landmarks() FaceLandmarks2D
	FaceCaptureQuality() foundation.Number
}

An interface definition for the FaceObservation class.

type IFeaturePrintObservation

type IFeaturePrintObservation interface {
	IObservation
	ComputeDistanceToFeaturePrintObservationError(outDistance *float64, featurePrint IFeaturePrintObservation, error foundation.IError) bool
	Data() []byte
	ElementType() ElementType
	ElementCount() uint
}

An interface definition for the FeaturePrintObservation class.

type IGenerateAttentionBasedSaliencyImageRequest

type IGenerateAttentionBasedSaliencyImageRequest interface {
	IImageBasedRequest
}

An interface definition for the GenerateAttentionBasedSaliencyImageRequest class.

type IGenerateImageFeaturePrintRequest

type IGenerateImageFeaturePrintRequest interface {
	IImageBasedRequest
	ImageCropAndScaleOption() ImageCropAndScaleOption
	SetImageCropAndScaleOption(value ImageCropAndScaleOption)
}

An interface definition for the GenerateImageFeaturePrintRequest class.

type IGenerateObjectnessBasedSaliencyImageRequest

type IGenerateObjectnessBasedSaliencyImageRequest interface {
	IImageBasedRequest
}

An interface definition for the GenerateObjectnessBasedSaliencyImageRequest class.

type IGenerateOpticalFlowRequest

type IGenerateOpticalFlowRequest interface {
	ITargetedImageRequest
	ComputationAccuracy() GenerateOpticalFlowRequestComputationAccuracy
	SetComputationAccuracy(value GenerateOpticalFlowRequestComputationAccuracy)
	OutputPixelFormat() uint
	SetOutputPixelFormat(value uint)
}

An interface definition for the GenerateOpticalFlowRequest class.

type IGeneratePersonSegmentationRequest

type IGeneratePersonSegmentationRequest interface {
	IStatefulRequest
	QualityLevel() GeneratePersonSegmentationRequestQualityLevel
	SetQualityLevel(value GeneratePersonSegmentationRequestQualityLevel)
	OutputPixelFormat() uint
	SetOutputPixelFormat(value uint)
}

An interface definition for the GeneratePersonSegmentationRequest class.

type IGeometryUtils

type IGeometryUtils interface {
	objc.IObject
}

An interface definition for the GeometryUtils class.

type IHomographicImageRegistrationRequest

type IHomographicImageRegistrationRequest interface {
	IImageRegistrationRequest
}

An interface definition for the HomographicImageRegistrationRequest class.

type IHorizonObservation

type IHorizonObservation interface {
	IObservation
	Angle() float64
	Transform() coregraphics.AffineTransform
}

An interface definition for the HorizonObservation class.

type IHumanBodyPoseObservation

type IHumanBodyPoseObservation interface {
	IRecognizedPointsObservation
	RecognizedPointForJointNameError(jointName HumanBodyPoseObservationJointName, error foundation.IError) RecognizedPoint
	RecognizedPointsForJointsGroupNameError(jointsGroupName HumanBodyPoseObservationJointsGroupName, error foundation.IError) map[HumanBodyPoseObservationJointName]RecognizedPoint
	AvailableJointsGroupNames() []HumanBodyPoseObservationJointsGroupName
	AvailableJointNames() []HumanBodyPoseObservationJointName
}

An interface definition for the HumanBodyPoseObservation class.

type IHumanHandPoseObservation

type IHumanHandPoseObservation interface {
	IRecognizedPointsObservation
	RecognizedPointsForJointsGroupNameError(jointsGroupName HumanHandPoseObservationJointsGroupName, error foundation.IError) map[HumanHandPoseObservationJointName]RecognizedPoint
	RecognizedPointForJointNameError(jointName HumanHandPoseObservationJointName, error foundation.IError) RecognizedPoint
	AvailableJointNames() []HumanHandPoseObservationJointName
	AvailableJointsGroupNames() []HumanHandPoseObservationJointsGroupName
	Chirality() Chirality
}

An interface definition for the HumanHandPoseObservation class.

type IHumanObservation

type IHumanObservation interface {
	IDetectedObjectObservation
	UpperBodyOnly() bool
}

An interface definition for the HumanObservation class.

type IImageAlignmentObservation

type IImageAlignmentObservation interface {
	IObservation
}

An interface definition for the ImageAlignmentObservation class.

type IImageBasedRequest

type IImageBasedRequest interface {
	IRequest
	RegionOfInterest() coregraphics.Rect
	SetRegionOfInterest(value coregraphics.Rect)
}

An interface definition for the ImageBasedRequest class.

type IImageHomographicAlignmentObservation

type IImageHomographicAlignmentObservation interface {
	IImageAlignmentObservation
	WarpTransform() kernel.Matrix_float3x3
}

An interface definition for the ImageHomographicAlignmentObservation class.

type IImageRegistrationRequest

type IImageRegistrationRequest interface {
	ITargetedImageRequest
}

An interface definition for the ImageRegistrationRequest class.

type IImageRequestHandler

type IImageRequestHandler interface {
	objc.IObject
	PerformRequestsError(requests []IRequest, error foundation.IError) bool
}

An interface definition for the ImageRequestHandler class.

type IImageTranslationAlignmentObservation

type IImageTranslationAlignmentObservation interface {
	IImageAlignmentObservation
	AlignmentTransform() coregraphics.AffineTransform
}

An interface definition for the ImageTranslationAlignmentObservation class.

type IObservation

type IObservation interface {
	objc.IObject
	Confidence() Confidence
	TimeRange() coremedia.TimeRange
	Uuid() foundation.UUID
}

An interface definition for the Observation class.

type IPixelBufferObservation

type IPixelBufferObservation interface {
	IObservation
	PixelBuffer() corevideo.PixelBufferRef
	FeatureName() string
}

An interface definition for the PixelBufferObservation class.

type IPoint

type IPoint interface {
	objc.IObject
	DistanceToPoint(point IPoint) float64
	Y() float64
	Location() coregraphics.Point
	X() float64
}

An interface definition for the Point class.

type IRecognizeAnimalsRequest

type IRecognizeAnimalsRequest interface {
	IImageBasedRequest
	SupportedIdentifiersAndReturnError(error foundation.IError) []AnimalIdentifier
}

An interface definition for the RecognizeAnimalsRequest class.

type IRecognizeTextRequest

type IRecognizeTextRequest interface {
	IImageBasedRequest
	SupportedRecognitionLanguagesAndReturnError(error foundation.IError) []string
	RecognitionLanguages() []string
	SetRecognitionLanguages(value []string)
	RecognitionLevel() RequestTextRecognitionLevel
	SetRecognitionLevel(value RequestTextRecognitionLevel)
	MinimumTextHeight() float64
	SetMinimumTextHeight(value float64)
	CustomWords() []string
	SetCustomWords(value []string)
	UsesLanguageCorrection() bool
	SetUsesLanguageCorrection(value bool)
}

An interface definition for the RecognizeTextRequest class.

type IRecognizedObjectObservation

type IRecognizedObjectObservation interface {
	IDetectedObjectObservation
	Labels() []ClassificationObservation
}

An interface definition for the RecognizedObjectObservation class.

type IRecognizedPoint

type IRecognizedPoint interface {
	IDetectedPoint
	Identifier() RecognizedPointKey
}

An interface definition for the RecognizedPoint class.

type IRecognizedPointsObservation

type IRecognizedPointsObservation interface {
	IObservation
	RecognizedPointsForGroupKeyError(groupKey RecognizedPointGroupKey, error foundation.IError) map[RecognizedPointKey]RecognizedPoint
	RecognizedPointForKeyError(pointKey RecognizedPointKey, error foundation.IError) RecognizedPoint
	KeypointsMultiArrayAndReturnError(error foundation.IError) coreml.MultiArray
	AvailableGroupKeys() []RecognizedPointGroupKey
	AvailableKeys() []RecognizedPointKey
}

An interface definition for the RecognizedPointsObservation class.

type IRecognizedText

type IRecognizedText interface {
	objc.IObject
	BoundingBoxForRangeError(range_ foundation.Range, error foundation.IError) RectangleObservation
	String() string
	Confidence() Confidence
}

An interface definition for the RecognizedText class.

type IRecognizedTextObservation

type IRecognizedTextObservation interface {
	IRectangleObservation
	TopCandidates(maxCandidateCount uint) []RecognizedText
}

An interface definition for the RecognizedTextObservation class.

type IRectangleObservation

type IRectangleObservation interface {
	IDetectedObjectObservation
	BottomLeft() coregraphics.Point
	BottomRight() coregraphics.Point
	TopRight() coregraphics.Point
	TopLeft() coregraphics.Point
}

An interface definition for the RectangleObservation class.

type IRequest

type IRequest interface {
	objc.IObject
	Cancel()
	Results() []Observation
	PreferBackgroundProcessing() bool
	SetPreferBackgroundProcessing(value bool)
	CompletionHandler() RequestCompletionHandler
	Revision() uint
	SetRevision(value uint)
}

An interface definition for the Request class.

type ISaliencyImageObservation

type ISaliencyImageObservation interface {
	IPixelBufferObservation
	SalientObjects() []RectangleObservation
}

An interface definition for the SaliencyImageObservation class.

type ISequenceRequestHandler

type ISequenceRequestHandler interface {
	objc.IObject
	PerformRequestsOnCVPixelBufferError(requests []IRequest, pixelBuffer corevideo.PixelBufferRef, error foundation.IError) bool
	PerformRequestsOnImageDataError(requests []IRequest, imageData []byte, error foundation.IError) bool
	PerformRequestsOnCVPixelBufferOrientationError(requests []IRequest, pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool
	PerformRequestsOnCGImageOrientationError(requests []IRequest, image coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool
	PerformRequestsOnCIImageOrientationError(requests []IRequest, image coreimage.IImage, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool
	PerformRequestsOnCMSampleBufferOrientationError(requests []IRequest, sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool
	PerformRequestsOnCGImageError(requests []IRequest, image coregraphics.ImageRef, error foundation.IError) bool
	PerformRequestsOnImageDataOrientationError(requests []IRequest, imageData []byte, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool
	PerformRequestsOnCIImageError(requests []IRequest, image coreimage.IImage, error foundation.IError) bool
	PerformRequestsOnImageURLError(requests []IRequest, imageURL foundation.IURL, error foundation.IError) bool
	PerformRequestsOnImageURLOrientationError(requests []IRequest, imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool
	PerformRequestsOnCMSampleBufferError(requests []IRequest, sampleBuffer coremedia.SampleBufferRef, error foundation.IError) bool
}

An interface definition for the SequenceRequestHandler class.

type IStatefulRequest

type IStatefulRequest interface {
	IImageBasedRequest
	FrameAnalysisSpacing() coremedia.Time
	MinimumLatencyFrameCount() int
}

An interface definition for the StatefulRequest class.

type ITargetedImageRequest

type ITargetedImageRequest interface {
	IImageBasedRequest
}

An interface definition for the TargetedImageRequest class.

type ITextObservation

type ITextObservation interface {
	IRectangleObservation
	CharacterBoxes() []RectangleObservation
}

An interface definition for the TextObservation class.

type ITrackObjectRequest

type ITrackObjectRequest interface {
	ITrackingRequest
}

An interface definition for the TrackObjectRequest class.

type ITrackRectangleRequest

type ITrackRectangleRequest interface {
	ITrackingRequest
}

An interface definition for the TrackRectangleRequest class.

type ITrackingRequest

type ITrackingRequest interface {
	IImageBasedRequest
	TrackingLevel() RequestTrackingLevel
	SetTrackingLevel(value RequestTrackingLevel)
	IsLastFrame() bool
	SetLastFrame(value bool)
	InputObservation() DetectedObjectObservation
	SetInputObservation(value IDetectedObjectObservation)
}

An interface definition for the TrackingRequest class.

type ITrajectoryObservation

type ITrajectoryObservation interface {
	IObservation
	EquationCoefficients() objc.Object
	DetectedPoints() []Point
	MovingAverageRadius() float64
	ProjectedPoints() []Point
}

An interface definition for the TrajectoryObservation class.

type ITranslationalImageRegistrationRequest

type ITranslationalImageRegistrationRequest interface {
	IImageRegistrationRequest
}

An interface definition for the TranslationalImageRegistrationRequest class.

type IVector

type IVector interface {
	objc.IObject
	Length() float64
	X() float64
	R() float64
	Y() float64
	SquaredLength() float64
	Theta() float64
}

An interface definition for the Vector class.

type IVideoProcessor

type IVideoProcessor interface {
	objc.IObject
	RemoveRequestError(request IRequest, error foundation.IError) bool
	AddRequestProcessingOptionsError(request IRequest, processingOptions IVideoProcessorRequestProcessingOptions, error foundation.IError) bool
	AnalyzeTimeRangeError(timeRange coremedia.TimeRange, error foundation.IError) bool
	Cancel()
}

An interface definition for the VideoProcessor class.

type IVideoProcessorCadence

type IVideoProcessorCadence interface {
	objc.IObject
}

An interface definition for the VideoProcessorCadence class.

type IVideoProcessorFrameRateCadence

type IVideoProcessorFrameRateCadence interface {
	IVideoProcessorCadence
	FrameRate() int
}

An interface definition for the VideoProcessorFrameRateCadence class.

type IVideoProcessorRequestProcessingOptions

type IVideoProcessorRequestProcessingOptions interface {
	objc.IObject
	Cadence() VideoProcessorCadence
	SetCadence(value IVideoProcessorCadence)
}

An interface definition for the VideoProcessorRequestProcessingOptions class.

type IVideoProcessorTimeIntervalCadence

type IVideoProcessorTimeIntervalCadence interface {
	IVideoProcessorCadence
	TimeInterval() corefoundation.TimeInterval
}

An interface definition for the VideoProcessorTimeIntervalCadence class.

type ImageAlignmentObservation

type ImageAlignmentObservation struct {
	Observation
}

The abstract superclass for image analysis results that describe the relative alignment of two images. Full Topic

func ImageAlignmentObservationFrom

func ImageAlignmentObservationFrom(ptr unsafe.Pointer) ImageAlignmentObservation

func NewImageAlignmentObservation

func NewImageAlignmentObservation() ImageAlignmentObservation

func (ImageAlignmentObservation) Init

type ImageBasedRequest

type ImageBasedRequest struct {
	Request
}

The abstract superclass for image analysis requests that focus on a specific part of an image. Full Topic

func ImageBasedRequestFrom

func ImageBasedRequestFrom(ptr unsafe.Pointer) ImageBasedRequest

func NewImageBasedRequest

func NewImageBasedRequest() ImageBasedRequest

func NewImageBasedRequestWithCompletionHandler

func NewImageBasedRequestWithCompletionHandler(completionHandler RequestCompletionHandler) ImageBasedRequest

Creates a new Vision request with an optional completion handler. Full Topic

func (ImageBasedRequest) Init

func (ImageBasedRequest) InitWithCompletionHandler

func (i_ ImageBasedRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) ImageBasedRequest

func (ImageBasedRequest) RegionOfInterest

func (i_ ImageBasedRequest) RegionOfInterest() coregraphics.Rect

The region of the image in which Vision will perform the request. Full Topic

func (ImageBasedRequest) SetRegionOfInterest

func (i_ ImageBasedRequest) SetRegionOfInterest(value coregraphics.Rect)

The region of the image in which Vision will perform the request. Full Topic

type ImageCropAndScaleOption

type ImageCropAndScaleOption uint

Options that define how Vision crops and scales an input-image. Full Topic

const (
	ImageCropAndScaleOptionCenterCrop ImageCropAndScaleOption = 0
	ImageCropAndScaleOptionScaleFill  ImageCropAndScaleOption = 2
	ImageCropAndScaleOptionScaleFit   ImageCropAndScaleOption = 1
)

type ImageHomographicAlignmentObservation

type ImageHomographicAlignmentObservation struct {
	ImageAlignmentObservation
}

An object that represents a perspective warp transformation. Full Topic

func ImageHomographicAlignmentObservationFrom

func ImageHomographicAlignmentObservationFrom(ptr unsafe.Pointer) ImageHomographicAlignmentObservation

func NewImageHomographicAlignmentObservation

func NewImageHomographicAlignmentObservation() ImageHomographicAlignmentObservation

func (ImageHomographicAlignmentObservation) Init

func (ImageHomographicAlignmentObservation) WarpTransform

The warp transform matrix to morph the floating image into the reference image. Full Topic

type ImageOption

type ImageOption string

An option key passed into VNImageRequestHandler creations or requests that take an auxiliary image. Full Topic

const (
	ImageOptionCIContext        ImageOption = "VNImageOptionCIContext"
	ImageOptionCameraIntrinsics ImageOption = "VNImageOptionCameraIntrinsics"
	ImageOptionProperties       ImageOption = "VNImageOptionProperties"
)

type ImageRegistrationRequest

type ImageRegistrationRequest struct {
	TargetedImageRequest
}

The abstract superclass for image analysis requests that align images according to their content. Full Topic

func ImageRegistrationRequestFrom

func ImageRegistrationRequestFrom(ptr unsafe.Pointer) ImageRegistrationRequest

func NewImageRegistrationRequest

func NewImageRegistrationRequest() ImageRegistrationRequest

func NewImageRegistrationRequestWithCompletionHandler

func NewImageRegistrationRequestWithCompletionHandler(completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewImageRegistrationRequestWithTargetedCGImageOptions

func NewImageRegistrationRequestWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting a Core Graphics image. Full Topic

func NewImageRegistrationRequestWithTargetedCGImageOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting a Core Graphics image, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedCGImageOrientationOptions

func NewImageRegistrationRequestWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting a Core Graphics image of known orientation. Full Topic

func NewImageRegistrationRequestWithTargetedCGImageOrientationOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedCIImageOptions

func NewImageRegistrationRequestWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting a CIImage. Full Topic

func NewImageRegistrationRequestWithTargetedCIImageOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting a CIImage, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedCIImageOrientationOptions

func NewImageRegistrationRequestWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting a CIImage of known orientation. Full Topic

func NewImageRegistrationRequestWithTargetedCIImageOrientationOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting a CIImage of known orientation, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedCMSampleBufferOptions

func NewImageRegistrationRequestWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request that targets an image in a sample buffer. Full Topic

func NewImageRegistrationRequestWithTargetedCMSampleBufferOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request with a completion handler that targets an image in a sample buffer. Full Topic

func NewImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptions

func NewImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request that targets an image of a known orientation in a sample buffer. Full Topic

func NewImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request with a completion handler that targets an image of a known orientation in a sample buffer. Full Topic

func NewImageRegistrationRequestWithTargetedCVPixelBufferOptions

func NewImageRegistrationRequestWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef. Full Topic

func NewImageRegistrationRequestWithTargetedCVPixelBufferOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptions

func NewImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation. Full Topic

func NewImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedImageDataOptions

func NewImageRegistrationRequestWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting an image as raw data. Full Topic

func NewImageRegistrationRequestWithTargetedImageDataOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting an image as raw data, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedImageDataOrientationOptions

func NewImageRegistrationRequestWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting a raw data image of known orientation. Full Topic

func NewImageRegistrationRequestWithTargetedImageDataOrientationOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting a raw data image of known orientation, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedImageURLOptions

func NewImageRegistrationRequestWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting an image at the specified URL. Full Topic

func NewImageRegistrationRequestWithTargetedImageURLOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting an image at the specified URL, executing the completion handler when done. Full Topic

func NewImageRegistrationRequestWithTargetedImageURLOrientationOptions

func NewImageRegistrationRequestWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

Creates a new request targeting an image of known orientation, at the specified URL. Full Topic

func NewImageRegistrationRequestWithTargetedImageURLOrientationOptionsCompletionHandler

func NewImageRegistrationRequestWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

Creates a new request targeting an image of known orientation, at the specified URL, executing the completion handler when done. Full Topic

func (ImageRegistrationRequest) Init

func (ImageRegistrationRequest) InitWithCompletionHandler

func (i_ ImageRegistrationRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCGImageOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCGImageOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCGImageOrientationOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCIImageOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCIImageOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCIImageOrientationOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCMSampleBufferOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCVPixelBufferOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptions

func (i_ ImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageDataOptions

func (i_ ImageRegistrationRequest) InitWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageDataOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageDataOrientationOptions

func (i_ ImageRegistrationRequest) InitWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageURLOptions

func (i_ ImageRegistrationRequest) InitWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageURLOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageURLOrientationOptions

func (i_ ImageRegistrationRequest) InitWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRegistrationRequest

func (ImageRegistrationRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler

func (i_ ImageRegistrationRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) ImageRegistrationRequest

type ImageRequestHandler

type ImageRequestHandler struct {
	objc.Object
}

An object that processes one or more image analysis requests pertaining to a single image. Full Topic

func ImageRequestHandlerFrom

func ImageRequestHandlerFrom(ptr unsafe.Pointer) ImageRequestHandler

func NewImageRequestHandler

func NewImageRequestHandler() ImageRequestHandler

func NewImageRequestHandlerWithCGImageOptions

func NewImageRequestHandlerWithCGImageOptions(image coregraphics.ImageRef, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on Core Graphics images. Full Topic

func NewImageRequestHandlerWithCGImageOrientationOptions

func NewImageRequestHandlerWithCGImageOrientationOptions(image coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on a Core Graphics image with known orientation. Full Topic

func NewImageRequestHandlerWithCIImageOptions

func NewImageRequestHandlerWithCIImageOptions(image coreimage.IImage, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on CIImage data. Full Topic

func NewImageRequestHandlerWithCIImageOrientationOptions

func NewImageRequestHandlerWithCIImageOrientationOptions(image coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on CIImage data of a known orientation. Full Topic

func NewImageRequestHandlerWithCMSampleBufferOptions

func NewImageRequestHandlerWithCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a request handler that performs requests on an image contained within a sample buffer. Full Topic

func NewImageRequestHandlerWithCMSampleBufferOrientationOptions

func NewImageRequestHandlerWithCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a request handler that performs requests on an image of a specified orientation contained within a sample buffer. Full Topic

func NewImageRequestHandlerWithCVPixelBufferOptions

func NewImageRequestHandlerWithCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler for performing requests on a Core Video pixel buffer. Full Topic

func NewImageRequestHandlerWithCVPixelBufferOrientationOptions

func NewImageRequestHandlerWithCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler for performing requests on a Core Video pixel buffer of a known orientation. Full Topic

func NewImageRequestHandlerWithDataOptions

func NewImageRequestHandlerWithDataOptions(imageData []byte, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on an image contained in an NSData object. Full Topic

func NewImageRequestHandlerWithDataOrientationOptions

func NewImageRequestHandlerWithDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on an image of known orientation, contained in an NSData object. Full Topic

func NewImageRequestHandlerWithURLOptions

func NewImageRequestHandlerWithURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on an image at the specified URL. Full Topic

func NewImageRequestHandlerWithURLOrientationOptions

func NewImageRequestHandlerWithURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

Creates a handler to be used for performing requests on an image with known orientation, at the specified URL. Full Topic

func (ImageRequestHandler) Init

func (ImageRequestHandler) InitWithCGImageOptions

func (i_ ImageRequestHandler) InitWithCGImageOptions(image coregraphics.ImageRef, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCGImageOrientationOptions

func (i_ ImageRequestHandler) InitWithCGImageOrientationOptions(image coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCIImageOptions

func (i_ ImageRequestHandler) InitWithCIImageOptions(image coreimage.IImage, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCIImageOrientationOptions

func (i_ ImageRequestHandler) InitWithCIImageOrientationOptions(image coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCMSampleBufferOptions

func (i_ ImageRequestHandler) InitWithCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCMSampleBufferOrientationOptions

func (i_ ImageRequestHandler) InitWithCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCVPixelBufferOptions

func (i_ ImageRequestHandler) InitWithCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithCVPixelBufferOrientationOptions

func (i_ ImageRequestHandler) InitWithCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithDataOptions

func (i_ ImageRequestHandler) InitWithDataOptions(imageData []byte, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithDataOrientationOptions

func (i_ ImageRequestHandler) InitWithDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithURLOptions

func (i_ ImageRequestHandler) InitWithURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) InitWithURLOrientationOptions

func (i_ ImageRequestHandler) InitWithURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) ImageRequestHandler

func (ImageRequestHandler) PerformRequestsError

func (i_ ImageRequestHandler) PerformRequestsError(requests []IRequest, error foundation.IError) bool

Schedules Vision requests to perform. Full Topic

type ImageTranslationAlignmentObservation

type ImageTranslationAlignmentObservation struct {
	ImageAlignmentObservation
}

Affine transform information that an image alignment request produces. Full Topic

func ImageTranslationAlignmentObservationFrom

func ImageTranslationAlignmentObservationFrom(ptr unsafe.Pointer) ImageTranslationAlignmentObservation

func NewImageTranslationAlignmentObservation

func NewImageTranslationAlignmentObservation() ImageTranslationAlignmentObservation

func (ImageTranslationAlignmentObservation) AlignmentTransform

The alignment transform to align the floating image with the reference image. Full Topic

func (ImageTranslationAlignmentObservation) Init

type Observation

type Observation struct {
	objc.Object
}

The abstract superclass for analysis results. Full Topic

func NewObservation

func NewObservation() Observation

func ObservationFrom

func ObservationFrom(ptr unsafe.Pointer) Observation

func (Observation) Confidence

func (o_ Observation) Confidence() Confidence

The level of confidence in the observation’s accuracy. Full Topic

func (Observation) Init

func (o_ Observation) Init() Observation

func (Observation) TimeRange

func (o_ Observation) TimeRange() coremedia.TimeRange

The time range of the reported observation. Full Topic

func (Observation) Uuid

func (o_ Observation) Uuid() foundation.UUID

A unique identifier assigned to the Vision observation. Full Topic

type PFaceObservationAccepting

type PFaceObservationAccepting interface {
	// optional
	SetInputFaceObservations(value []FaceObservation)
	HasSetInputFaceObservations() bool

	// optional
	InputFaceObservations() []FaceObservation
	HasInputFaceObservations() bool
}

An image analysis request that operates on face observations. Full Topic

type PRequestProgressProviding

type PRequestProgressProviding interface {
	// optional
	SetProgressHandler(value RequestProgressHandler)
	HasSetProgressHandler() bool

	// optional
	ProgressHandler() RequestProgressHandler
	HasProgressHandler() bool

	// optional
	Indeterminate() bool
	HasIndeterminate() bool
}

A protocol for providing progress information on long-running tasks in Vision. Full Topic

type PRequestRevisionProviding

type PRequestRevisionProviding interface {
	// optional
	RequestRevision() uint
	HasRequestRevision() bool
}

A protocol for specifying the revision number of Vision algorithms. Full Topic

type PixelBufferObservation

type PixelBufferObservation struct {
	Observation
}

An object that represents an image that an image analysis request produces. Full Topic

func NewPixelBufferObservation

func NewPixelBufferObservation() PixelBufferObservation

func PixelBufferObservationFrom

func PixelBufferObservationFrom(ptr unsafe.Pointer) PixelBufferObservation

func (PixelBufferObservation) FeatureName

func (p_ PixelBufferObservation) FeatureName() string

A feature name that the CoreML model defines. Full Topic

func (PixelBufferObservation) Init

func (PixelBufferObservation) PixelBuffer

The image that results from a request with image output. Full Topic

type Point

type Point struct {
	objc.Object
}

An immutable object that represents a single, two-dimensional point in an image. Full Topic

func NewPoint

func NewPoint() Point

func NewPointWithLocation

func NewPointWithLocation(location coregraphics.Point) Point

Creates a point object from the specified Core Graphics point. Full Topic

func NewPointWithXY

func NewPointWithXY(x float64, y float64) Point

Creates a point object with the specified coordinates. Full Topic

func PointFrom

func PointFrom(ptr unsafe.Pointer) Point

func Point_PointByApplyingVectorToPoint

func Point_PointByApplyingVectorToPoint(vector IVector, point IPoint) Point

Creates a point object that’s shifted by the X and Y offsets of the specified vector. Full Topic

func Point_ZeroPoint

func Point_ZeroPoint() Point

A point object that represents the origin. Full Topic

func (Point) DistanceToPoint

func (p_ Point) DistanceToPoint(point IPoint) float64

Returns the distance to another point. Full Topic

func (Point) Init

func (p_ Point) Init() Point

func (Point) InitWithLocation

func (p_ Point) InitWithLocation(location coregraphics.Point) Point

func (Point) InitWithXY

func (p_ Point) InitWithXY(x float64, y float64) Point

func (Point) Location

func (p_ Point) Location() coregraphics.Point

The Core Graphics point for this point. Full Topic

func (Point) X

func (p_ Point) X() float64

The x-coordinate. Full Topic

func (Point) Y

func (p_ Point) Y() float64

The y-coordinate. Full Topic

type RecognizeAnimalsRequest

type RecognizeAnimalsRequest struct {
	ImageBasedRequest
}

A request that recognizes animals in an image. Full Topic

func NewRecognizeAnimalsRequest

func NewRecognizeAnimalsRequest() RecognizeAnimalsRequest

func NewRecognizeAnimalsRequestWithCompletionHandler

func NewRecognizeAnimalsRequestWithCompletionHandler(completionHandler RequestCompletionHandler) RecognizeAnimalsRequest

Creates a new Vision request with an optional completion handler. Full Topic

func RecognizeAnimalsRequestFrom

func RecognizeAnimalsRequestFrom(ptr unsafe.Pointer) RecognizeAnimalsRequest

func (RecognizeAnimalsRequest) Init

func (RecognizeAnimalsRequest) InitWithCompletionHandler

func (r_ RecognizeAnimalsRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) RecognizeAnimalsRequest

func (RecognizeAnimalsRequest) SupportedIdentifiersAndReturnError

func (r_ RecognizeAnimalsRequest) SupportedIdentifiersAndReturnError(error foundation.IError) []AnimalIdentifier

Returns the identifiers of the animals that the request detects. Full Topic

type RecognizeTextRequest

type RecognizeTextRequest struct {
	ImageBasedRequest
}

An image analysis request that finds and recognizes text in an image. Full Topic

func NewRecognizeTextRequest

func NewRecognizeTextRequest() RecognizeTextRequest

func NewRecognizeTextRequestWithCompletionHandler

func NewRecognizeTextRequestWithCompletionHandler(completionHandler RequestCompletionHandler) RecognizeTextRequest

Creates a new Vision request with an optional completion handler. Full Topic

func RecognizeTextRequestFrom

func RecognizeTextRequestFrom(ptr unsafe.Pointer) RecognizeTextRequest

func (RecognizeTextRequest) CustomWords

func (r_ RecognizeTextRequest) CustomWords() []string

An array of strings to supplement the recognized languages at the word-recognition stage. Full Topic

func (RecognizeTextRequest) Init

func (RecognizeTextRequest) InitWithCompletionHandler

func (r_ RecognizeTextRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) RecognizeTextRequest

func (RecognizeTextRequest) MinimumTextHeight

func (r_ RecognizeTextRequest) MinimumTextHeight() float64

The minimum height, relative to the image height, of the text to recognize. Full Topic

func (RecognizeTextRequest) RecognitionLanguages

func (r_ RecognizeTextRequest) RecognitionLanguages() []string

An array of languages to detect, in priority order. Full Topic

func (RecognizeTextRequest) RecognitionLevel

func (r_ RecognizeTextRequest) RecognitionLevel() RequestTextRecognitionLevel

A value that determines whether the request prioritizes accuracy or speed in text recognition. Full Topic

func (RecognizeTextRequest) SetCustomWords

func (r_ RecognizeTextRequest) SetCustomWords(value []string)

An array of strings to supplement the recognized languages at the word-recognition stage. Full Topic

func (RecognizeTextRequest) SetMinimumTextHeight

func (r_ RecognizeTextRequest) SetMinimumTextHeight(value float64)

The minimum height, relative to the image height, of the text to recognize. Full Topic

func (RecognizeTextRequest) SetRecognitionLanguages

func (r_ RecognizeTextRequest) SetRecognitionLanguages(value []string)

An array of languages to detect, in priority order. Full Topic

func (RecognizeTextRequest) SetRecognitionLevel

func (r_ RecognizeTextRequest) SetRecognitionLevel(value RequestTextRecognitionLevel)

A value that determines whether the request prioritizes accuracy or speed in text recognition. Full Topic

func (RecognizeTextRequest) SetUsesLanguageCorrection

func (r_ RecognizeTextRequest) SetUsesLanguageCorrection(value bool)

A Boolean value that indicates whether the request applies language correction during the recognition process. Full Topic

func (RecognizeTextRequest) SupportedRecognitionLanguagesAndReturnError

func (r_ RecognizeTextRequest) SupportedRecognitionLanguagesAndReturnError(error foundation.IError) []string

Returns the identifiers of the languages that the request supports. Full Topic

func (RecognizeTextRequest) UsesLanguageCorrection

func (r_ RecognizeTextRequest) UsesLanguageCorrection() bool

A Boolean value that indicates whether the request applies language correction during the recognition process. Full Topic

type RecognizedObjectObservation

type RecognizedObjectObservation struct {
	DetectedObjectObservation
}

A detected object observation with an array of classification labels that classify the recognized object. Full Topic

func NewRecognizedObjectObservation

func NewRecognizedObjectObservation() RecognizedObjectObservation

func RecognizedObjectObservationFrom

func RecognizedObjectObservationFrom(ptr unsafe.Pointer) RecognizedObjectObservation

func RecognizedObjectObservation_ObservationWithBoundingBox

func RecognizedObjectObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) RecognizedObjectObservation

Creates an observation with a bounding box. Full Topic

func RecognizedObjectObservation_ObservationWithRequestRevisionBoundingBox

func RecognizedObjectObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) RecognizedObjectObservation

Creates an observation with a revision number and bounding box. Full Topic

func (RecognizedObjectObservation) Init

func (RecognizedObjectObservation) Labels

An array of observations that classify the recognized object. Full Topic

type RecognizedPoint

type RecognizedPoint struct {
	DetectedPoint
}

An object that represents a normalized point in an image, along with an identifier label and a confidence value. Full Topic

func NewRecognizedPoint

func NewRecognizedPoint() RecognizedPoint

func NewRecognizedPointWithLocation

func NewRecognizedPointWithLocation(location coregraphics.Point) RecognizedPoint

Creates a point object from the specified Core Graphics point. Full Topic

func NewRecognizedPointWithXY

func NewRecognizedPointWithXY(x float64, y float64) RecognizedPoint

Creates a point object with the specified coordinates. Full Topic

func RecognizedPointFrom

func RecognizedPointFrom(ptr unsafe.Pointer) RecognizedPoint

func (RecognizedPoint) Identifier

func (r_ RecognizedPoint) Identifier() RecognizedPointKey

The point’s identifier label. Full Topic

func (RecognizedPoint) Init

func (r_ RecognizedPoint) Init() RecognizedPoint

func (RecognizedPoint) InitWithLocation

func (r_ RecognizedPoint) InitWithLocation(location coregraphics.Point) RecognizedPoint

func (RecognizedPoint) InitWithXY

func (r_ RecognizedPoint) InitWithXY(x float64, y float64) RecognizedPoint

type RecognizedPointGroupKey

type RecognizedPointGroupKey string

The data type for all recognized point group keys. Full Topic

const (
	BodyLandmarkRegionKeyFace     RecognizedPointGroupKey = "VNBLKFACE"
	BodyLandmarkRegionKeyLeftArm  RecognizedPointGroupKey = "VNBLKLARM"
	BodyLandmarkRegionKeyLeftLeg  RecognizedPointGroupKey = "VNBLKLLEG"
	BodyLandmarkRegionKeyRightArm RecognizedPointGroupKey = "VNBLKRARM"
	BodyLandmarkRegionKeyRightLeg RecognizedPointGroupKey = "VNBLKRLEG"
	BodyLandmarkRegionKeyTorso    RecognizedPointGroupKey = "VNBLKTORSO"
	RecognizedPointGroupKeyAll    RecognizedPointGroupKey = "VNIPOAll"
)

type RecognizedPointKey

type RecognizedPointKey string

The data type for all recognized point keys. Full Topic

const (
	BodyLandmarkKeyLeftAnkle     RecognizedPointKey = "left_foot_joint"
	BodyLandmarkKeyLeftEar       RecognizedPointKey = "left_ear_joint"
	BodyLandmarkKeyLeftElbow     RecognizedPointKey = "left_forearm_joint"
	BodyLandmarkKeyLeftEye       RecognizedPointKey = "left_eye_joint"
	BodyLandmarkKeyLeftHip       RecognizedPointKey = "left_upLeg_joint"
	BodyLandmarkKeyLeftKnee      RecognizedPointKey = "left_leg_joint"
	BodyLandmarkKeyLeftShoulder  RecognizedPointKey = "left_shoulder_1_joint"
	BodyLandmarkKeyLeftWrist     RecognizedPointKey = "left_hand_joint"
	BodyLandmarkKeyNeck          RecognizedPointKey = "neck_1_joint"
	BodyLandmarkKeyNose          RecognizedPointKey = "head_joint"
	BodyLandmarkKeyRightAnkle    RecognizedPointKey = "right_foot_joint"
	BodyLandmarkKeyRightEar      RecognizedPointKey = "right_ear_joint"
	BodyLandmarkKeyRightElbow    RecognizedPointKey = "right_forearm_joint"
	BodyLandmarkKeyRightEye      RecognizedPointKey = "right_eye_joint"
	BodyLandmarkKeyRightHip      RecognizedPointKey = "right_upLeg_joint"
	BodyLandmarkKeyRightKnee     RecognizedPointKey = "right_leg_joint"
	BodyLandmarkKeyRightShoulder RecognizedPointKey = "right_shoulder_1_joint"
	BodyLandmarkKeyRightWrist    RecognizedPointKey = "right_hand_joint"
	BodyLandmarkKeyRoot          RecognizedPointKey = "root"
)

type RecognizedPointsObservation

type RecognizedPointsObservation struct {
	Observation
}

An observation that provides the points the analysis recognized. Full Topic

func NewRecognizedPointsObservation

func NewRecognizedPointsObservation() RecognizedPointsObservation

func RecognizedPointsObservationFrom

func RecognizedPointsObservationFrom(ptr unsafe.Pointer) RecognizedPointsObservation

func (RecognizedPointsObservation) AvailableGroupKeys

func (r_ RecognizedPointsObservation) AvailableGroupKeys() []RecognizedPointGroupKey

The available point group keys in the observation. Full Topic

func (RecognizedPointsObservation) AvailableKeys

func (r_ RecognizedPointsObservation) AvailableKeys() []RecognizedPointKey

The available point keys in the observation. Full Topic

func (RecognizedPointsObservation) Init

func (RecognizedPointsObservation) KeypointsMultiArrayAndReturnError

func (r_ RecognizedPointsObservation) KeypointsMultiArrayAndReturnError(error foundation.IError) coreml.MultiArray

Retrieves the grouping of normalized point coordinates and confidence scores in a format compatible with Core ML. Full Topic

func (RecognizedPointsObservation) RecognizedPointForKeyError

func (r_ RecognizedPointsObservation) RecognizedPointForKeyError(pointKey RecognizedPointKey, error foundation.IError) RecognizedPoint

Retrieves a recognized point for a key. Full Topic

func (RecognizedPointsObservation) RecognizedPointsForGroupKeyError

func (r_ RecognizedPointsObservation) RecognizedPointsForGroupKeyError(groupKey RecognizedPointGroupKey, error foundation.IError) map[RecognizedPointKey]RecognizedPoint

Retrieves the recognized points for a key. Full Topic

type RecognizedText

type RecognizedText struct {
	objc.Object
}

Text recognized in an image through a text recognition request. Full Topic

func NewRecognizedText

func NewRecognizedText() RecognizedText

func RecognizedTextFrom

func RecognizedTextFrom(ptr unsafe.Pointer) RecognizedText

func (RecognizedText) BoundingBoxForRangeError

func (r_ RecognizedText) BoundingBoxForRangeError(range_ foundation.Range, error foundation.IError) RectangleObservation

Calculates the bounding box around the characters in the range of a string. Full Topic

func (RecognizedText) Confidence

func (r_ RecognizedText) Confidence() Confidence

A normalized confidence score for the text recognition result. Full Topic

func (RecognizedText) Init

func (r_ RecognizedText) Init() RecognizedText

func (RecognizedText) String

func (r_ RecognizedText) String() string

The top candidate for recognized text. Full Topic

type RecognizedTextObservation

type RecognizedTextObservation struct {
	RectangleObservation
}

A request that detects and recognizes regions of text in an image. Full Topic

func NewRecognizedTextObservation

func NewRecognizedTextObservation() RecognizedTextObservation

func RecognizedTextObservationFrom

func RecognizedTextObservationFrom(ptr unsafe.Pointer) RecognizedTextObservation

func RecognizedTextObservation_ObservationWithBoundingBox

func RecognizedTextObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) RecognizedTextObservation

Creates an observation with a bounding box. Full Topic

func RecognizedTextObservation_ObservationWithRequestRevisionBoundingBox

func RecognizedTextObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) RecognizedTextObservation

Creates an observation with a revision number and bounding box. Full Topic

func (RecognizedTextObservation) Init

func (RecognizedTextObservation) TopCandidates

func (r_ RecognizedTextObservation) TopCandidates(maxCandidateCount uint) []RecognizedText

Requests the n top candidates for a recognized text string. Full Topic

type RectangleObservation

type RectangleObservation struct {
	DetectedObjectObservation
}

An object that represents the four vertices of a detected rectangle. Full Topic

func NewRectangleObservation

func NewRectangleObservation() RectangleObservation

func RectangleObservationFrom

func RectangleObservationFrom(ptr unsafe.Pointer) RectangleObservation

func RectangleObservation_ObservationWithBoundingBox

func RectangleObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) RectangleObservation

Creates an observation with a bounding box. Full Topic

func RectangleObservation_ObservationWithRequestRevisionBoundingBox

func RectangleObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) RectangleObservation

Creates an observation with a revision number and bounding box. Full Topic

func (RectangleObservation) BottomLeft

func (r_ RectangleObservation) BottomLeft() coregraphics.Point

The coordinates of the lower-left corner of the observation bounding box. Full Topic

func (RectangleObservation) BottomRight

func (r_ RectangleObservation) BottomRight() coregraphics.Point

The coordinates of the lower-right corner of the observation bounding box. Full Topic

func (RectangleObservation) Init

func (RectangleObservation) TopLeft

The coordinates of the upper-left corner of the observation bounding box. Full Topic

func (RectangleObservation) TopRight

func (r_ RectangleObservation) TopRight() coregraphics.Point

The coordinates of the upper-right corner of the observation bounding box. Full Topic

type Request

type Request struct {
	objc.Object
}

The abstract superclass for analysis requests. Full Topic

func NewRequest

func NewRequest() Request

func NewRequestWithCompletionHandler

func NewRequestWithCompletionHandler(completionHandler RequestCompletionHandler) Request

Creates a new Vision request with an optional completion handler. Full Topic

func RequestFrom

func RequestFrom(ptr unsafe.Pointer) Request

func (Request) Cancel

func (r_ Request) Cancel()

Cancels the request before it can finish executing. Full Topic

func (Request) CompletionHandler

func (r_ Request) CompletionHandler() RequestCompletionHandler

The completion handler the system invokes after the request finishes processing. Full Topic

func (Request) Init

func (r_ Request) Init() Request

func (Request) InitWithCompletionHandler

func (r_ Request) InitWithCompletionHandler(completionHandler RequestCompletionHandler) Request

func (Request) PreferBackgroundProcessing

func (r_ Request) PreferBackgroundProcessing() bool

A hint to minimize the resource burden of the request. Full Topic

func (Request) Results

func (r_ Request) Results() []Observation

The collection of VNObservation results generated by request processing. Full Topic

func (Request) Revision

func (r_ Request) Revision() uint

The specific algorithm or implementation revision that’s used to perform the request. Full Topic

func (Request) SetPreferBackgroundProcessing

func (r_ Request) SetPreferBackgroundProcessing(value bool)

A hint to minimize the resource burden of the request. Full Topic

func (Request) SetRevision

func (r_ Request) SetRevision(value uint)

The specific algorithm or implementation revision that’s used to perform the request. Full Topic

type RequestCompletionHandler

type RequestCompletionHandler = func(request Request, error foundation.Error)

A type alias to encapsulate the syntax for the completion handler the system calls after the request finishes processing. Full Topic

type RequestFaceLandmarksConstellation

type RequestFaceLandmarksConstellation uint

An enumeration of face landmarks in a constellation object. Full Topic

const (
	RequestFaceLandmarksConstellation65Points   RequestFaceLandmarksConstellation = 1
	RequestFaceLandmarksConstellation76Points   RequestFaceLandmarksConstellation = 2
	RequestFaceLandmarksConstellationNotDefined RequestFaceLandmarksConstellation = 0
)

type RequestProgressHandler

type RequestProgressHandler = func(request Request, fractionCompleted float64, error foundation.Error)

A block executed at intervals during the processing of a Vision request. Full Topic

type RequestProgressProvidingObject

type RequestProgressProvidingObject struct {
	objc.Object
}

A concrete type for the PRequestProgressProviding protocol.

func (RequestProgressProvidingObject) HasIndeterminate

func (r_ RequestProgressProvidingObject) HasIndeterminate() bool

func (RequestProgressProvidingObject) HasProgressHandler

func (r_ RequestProgressProvidingObject) HasProgressHandler() bool

func (RequestProgressProvidingObject) HasSetProgressHandler

func (r_ RequestProgressProvidingObject) HasSetProgressHandler() bool

func (RequestProgressProvidingObject) Indeterminate

func (r_ RequestProgressProvidingObject) Indeterminate() bool

A Boolean set to true when a request can't determine its progress in fractions completed. Full Topic

func (RequestProgressProvidingObject) ProgressHandler

A block of code executed periodically during a Vision request to report progress on long-running tasks. Full Topic

func (RequestProgressProvidingObject) SetProgressHandler

func (r_ RequestProgressProvidingObject) SetProgressHandler(value RequestProgressHandler)

A block of code executed periodically during a Vision request to report progress on long-running tasks. Full Topic

type RequestRevisionProvidingObject

type RequestRevisionProvidingObject struct {
	objc.Object
}

A concrete type for the PRequestRevisionProviding protocol.

func (RequestRevisionProvidingObject) HasRequestRevision

func (r_ RequestRevisionProvidingObject) HasRequestRevision() bool

func (RequestRevisionProvidingObject) RequestRevision

func (r_ RequestRevisionProvidingObject) RequestRevision() uint

The revision of the VNRequest subclass used to generate the implementing object. Full Topic

type RequestTextRecognitionLevel

type RequestTextRecognitionLevel int

Constants that identify the performance and accuracy of the text recognition. Full Topic

const (
	RequestTextRecognitionLevelAccurate RequestTextRecognitionLevel = 0
	RequestTextRecognitionLevelFast     RequestTextRecognitionLevel = 1
)

type RequestTrackingLevel

type RequestTrackingLevel uint

An enumeration of tracking priorities. Full Topic

const (
	RequestTrackingLevelAccurate RequestTrackingLevel = 0
	RequestTrackingLevelFast     RequestTrackingLevel = 1
)

type SaliencyImageObservation

type SaliencyImageObservation struct {
	PixelBufferObservation
}

An observation that contains a grayscale heat map of important areas across an image. Full Topic

func NewSaliencyImageObservation

func NewSaliencyImageObservation() SaliencyImageObservation

func SaliencyImageObservationFrom

func SaliencyImageObservationFrom(ptr unsafe.Pointer) SaliencyImageObservation

func (SaliencyImageObservation) Init

func (SaliencyImageObservation) SalientObjects

func (s_ SaliencyImageObservation) SalientObjects() []RectangleObservation

A collection of objects describing the distinct areas of the saliency heat map. Full Topic

type SequenceRequestHandler

type SequenceRequestHandler struct {
	objc.Object
}

An object that processes image analysis requests for each frame in a sequence. Full Topic

func NewSequenceRequestHandler

func NewSequenceRequestHandler() SequenceRequestHandler

func SequenceRequestHandlerFrom

func SequenceRequestHandlerFrom(ptr unsafe.Pointer) SequenceRequestHandler

func (SequenceRequestHandler) Init

func (SequenceRequestHandler) PerformRequestsOnCGImageError

func (s_ SequenceRequestHandler) PerformRequestsOnCGImageError(requests []IRequest, image coregraphics.ImageRef, error foundation.IError) bool

Schedules Vision requests to be performed on a Core Graphics image. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCGImageOrientationError

func (s_ SequenceRequestHandler) PerformRequestsOnCGImageOrientationError(requests []IRequest, image coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool

Schedules one or more Vision requests to be performed on a Core Graphics image with known orientation. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCIImageError

func (s_ SequenceRequestHandler) PerformRequestsOnCIImageError(requests []IRequest, image coreimage.IImage, error foundation.IError) bool

Schedules one or more Vision requests to be performed on CIImage data. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCIImageOrientationError

func (s_ SequenceRequestHandler) PerformRequestsOnCIImageOrientationError(requests []IRequest, image coreimage.IImage, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool

Schedules one or more Vision requests to be performed on CIImage data with known orientation. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCMSampleBufferError

func (s_ SequenceRequestHandler) PerformRequestsOnCMSampleBufferError(requests []IRequest, sampleBuffer coremedia.SampleBufferRef, error foundation.IError) bool

Performs one or more requests on an image contained within a sample buffer. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCMSampleBufferOrientationError

func (s_ SequenceRequestHandler) PerformRequestsOnCMSampleBufferOrientationError(requests []IRequest, sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool

Performs one or more requests on an image of a specified orientation contained within a sample buffer. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCVPixelBufferError

func (s_ SequenceRequestHandler) PerformRequestsOnCVPixelBufferError(requests []IRequest, pixelBuffer corevideo.PixelBufferRef, error foundation.IError) bool

Schedules one or more Vision requests to be performed on a Core Video pixel buffer. Full Topic

func (SequenceRequestHandler) PerformRequestsOnCVPixelBufferOrientationError

func (s_ SequenceRequestHandler) PerformRequestsOnCVPixelBufferOrientationError(requests []IRequest, pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool

Schedules one or more Vision requests to be performed on a Core Video pixel buffer with known orientation. Full Topic

func (SequenceRequestHandler) PerformRequestsOnImageDataError

func (s_ SequenceRequestHandler) PerformRequestsOnImageDataError(requests []IRequest, imageData []byte, error foundation.IError) bool

Schedules one or more Vision requests to be performed on raw image data. Full Topic

func (SequenceRequestHandler) PerformRequestsOnImageDataOrientationError

func (s_ SequenceRequestHandler) PerformRequestsOnImageDataOrientationError(requests []IRequest, imageData []byte, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool

Schedules one or more Vision requests to be performed on raw data containing an image with known orientation. Full Topic

func (SequenceRequestHandler) PerformRequestsOnImageURLError

func (s_ SequenceRequestHandler) PerformRequestsOnImageURLError(requests []IRequest, imageURL foundation.IURL, error foundation.IError) bool

Schedules one or more Vision requests to be performed on an image. Full Topic

func (SequenceRequestHandler) PerformRequestsOnImageURLOrientationError

func (s_ SequenceRequestHandler) PerformRequestsOnImageURLOrientationError(requests []IRequest, imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, error foundation.IError) bool

Schedules one or more Vision requests to be performed on an image with known orientation, at a specific URL. Full Topic

type StatefulRequest

type StatefulRequest struct {
	ImageBasedRequest
}

An abstract request type that builds evidence of a condition over time. Full Topic

func NewStatefulRequest

func NewStatefulRequest() StatefulRequest

func NewStatefulRequestWithCompletionHandler

func NewStatefulRequestWithCompletionHandler(completionHandler RequestCompletionHandler) StatefulRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewStatefulRequestWithFrameAnalysisSpacingCompletionHandler

func NewStatefulRequestWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing coremedia.Time, completionHandler RequestCompletionHandler) StatefulRequest

Initializes a video-based request. Full Topic

func StatefulRequestFrom

func StatefulRequestFrom(ptr unsafe.Pointer) StatefulRequest

func (StatefulRequest) FrameAnalysisSpacing

func (s_ StatefulRequest) FrameAnalysisSpacing() coremedia.Time

A time value that indicates the interval between analysis operations. Full Topic

func (StatefulRequest) Init

func (s_ StatefulRequest) Init() StatefulRequest

func (StatefulRequest) InitWithCompletionHandler

func (s_ StatefulRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) StatefulRequest

func (StatefulRequest) InitWithFrameAnalysisSpacingCompletionHandler

func (s_ StatefulRequest) InitWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing coremedia.Time, completionHandler RequestCompletionHandler) StatefulRequest

func (StatefulRequest) MinimumLatencyFrameCount

func (s_ StatefulRequest) MinimumLatencyFrameCount() int

The minimum number of frames a request processes before reporting an observation. Full Topic

type TargetedImageRequest

type TargetedImageRequest struct {
	ImageBasedRequest
}

The abstract superclass for image analysis requests that operate on both the processed image and a secondary image. Full Topic

func NewTargetedImageRequest

func NewTargetedImageRequest() TargetedImageRequest

func NewTargetedImageRequestWithCompletionHandler

func NewTargetedImageRequestWithCompletionHandler(completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewTargetedImageRequestWithTargetedCGImageOptions

func NewTargetedImageRequestWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting a Core Graphics image. Full Topic

func NewTargetedImageRequestWithTargetedCGImageOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting a Core Graphics image, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedCGImageOrientationOptions

func NewTargetedImageRequestWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting a Core Graphics image of known orientation. Full Topic

func NewTargetedImageRequestWithTargetedCGImageOrientationOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedCIImageOptions

func NewTargetedImageRequestWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting a CIImage. Full Topic

func NewTargetedImageRequestWithTargetedCIImageOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting a CIImage, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedCIImageOrientationOptions

func NewTargetedImageRequestWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting a CIImage of known orientation. Full Topic

func NewTargetedImageRequestWithTargetedCIImageOrientationOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting a CIImage of known orientation, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedCMSampleBufferOptions

func NewTargetedImageRequestWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request that targets an image in a sample buffer. Full Topic

func NewTargetedImageRequestWithTargetedCMSampleBufferOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request with a completion handler that targets an image in a sample buffer. Full Topic

func NewTargetedImageRequestWithTargetedCMSampleBufferOrientationOptions

func NewTargetedImageRequestWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request that targets an image of a known orientation in a sample buffer. Full Topic

func NewTargetedImageRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request with a completion handler that targets an image of a known orientation in a sample buffer. Full Topic

func NewTargetedImageRequestWithTargetedCVPixelBufferOptions

func NewTargetedImageRequestWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting an image in a CVPixelBufferRef. Full Topic

func NewTargetedImageRequestWithTargetedCVPixelBufferOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting an image in a CVPixelBufferRef, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedCVPixelBufferOrientationOptions

func NewTargetedImageRequestWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation. Full Topic

func NewTargetedImageRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedImageDataOptions

func NewTargetedImageRequestWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting an image as raw data. Full Topic

func NewTargetedImageRequestWithTargetedImageDataOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting an image as raw data, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedImageDataOrientationOptions

func NewTargetedImageRequestWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting a raw data image of known orientation. Full Topic

func NewTargetedImageRequestWithTargetedImageDataOrientationOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting a raw data image of known orientation, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedImageURLOptions

func NewTargetedImageRequestWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting an image at the specified URL. Full Topic

func NewTargetedImageRequestWithTargetedImageURLOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting an image at the specified URL, executing the completion handler when done. Full Topic

func NewTargetedImageRequestWithTargetedImageURLOrientationOptions

func NewTargetedImageRequestWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

Creates a new request targeting an image of known orientation, at the specified URL. Full Topic

func NewTargetedImageRequestWithTargetedImageURLOrientationOptionsCompletionHandler

func NewTargetedImageRequestWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

Creates a new request targeting an image of known orientation, at the specified URL, executing the completion handler when done. Full Topic

func TargetedImageRequestFrom

func TargetedImageRequestFrom(ptr unsafe.Pointer) TargetedImageRequest

func (TargetedImageRequest) Init

func (TargetedImageRequest) InitWithCompletionHandler

func (t_ TargetedImageRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCGImageOptions

func (t_ TargetedImageRequest) InitWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCGImageOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCGImageOrientationOptions

func (t_ TargetedImageRequest) InitWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCIImageOptions

func (t_ TargetedImageRequest) InitWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCIImageOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCIImageOrientationOptions

func (t_ TargetedImageRequest) InitWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCMSampleBufferOptions

func (t_ TargetedImageRequest) InitWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCMSampleBufferOrientationOptions

func (t_ TargetedImageRequest) InitWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCVPixelBufferOptions

func (t_ TargetedImageRequest) InitWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCVPixelBufferOrientationOptions

func (t_ TargetedImageRequest) InitWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageDataOptions

func (t_ TargetedImageRequest) InitWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageDataOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageDataOrientationOptions

func (t_ TargetedImageRequest) InitWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageURLOptions

func (t_ TargetedImageRequest) InitWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageURLOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageURLOrientationOptions

func (t_ TargetedImageRequest) InitWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TargetedImageRequest

func (TargetedImageRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler

func (t_ TargetedImageRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TargetedImageRequest

type TextObservation

type TextObservation struct {
	RectangleObservation
}

Information about regions of text that an image analysis request detects. Full Topic

func NewTextObservation

func NewTextObservation() TextObservation

func TextObservationFrom

func TextObservationFrom(ptr unsafe.Pointer) TextObservation

func TextObservation_ObservationWithBoundingBox

func TextObservation_ObservationWithBoundingBox(boundingBox coregraphics.Rect) TextObservation

Creates an observation with a bounding box. Full Topic

func TextObservation_ObservationWithRequestRevisionBoundingBox

func TextObservation_ObservationWithRequestRevisionBoundingBox(requestRevision uint, boundingBox coregraphics.Rect) TextObservation

Creates an observation with a revision number and bounding box. Full Topic

func (TextObservation) CharacterBoxes

func (t_ TextObservation) CharacterBoxes() []RectangleObservation

An array of detected individual character bounding boxes. Full Topic

func (TextObservation) Init

func (t_ TextObservation) Init() TextObservation

type TrackObjectRequest

type TrackObjectRequest struct {
	TrackingRequest
}

An image analysis request that tracks the movement of a previously identified object across multiple images or video frames. Full Topic

func NewTrackObjectRequest

func NewTrackObjectRequest() TrackObjectRequest

func NewTrackObjectRequestWithCompletionHandler

func NewTrackObjectRequestWithCompletionHandler(completionHandler RequestCompletionHandler) TrackObjectRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewTrackObjectRequestWithDetectedObjectObservation

func NewTrackObjectRequestWithDetectedObjectObservation(observation IDetectedObjectObservation) TrackObjectRequest

Creates a new object tracking request with a detected object observation. Full Topic

func NewTrackObjectRequestWithDetectedObjectObservationCompletionHandler

func NewTrackObjectRequestWithDetectedObjectObservationCompletionHandler(observation IDetectedObjectObservation, completionHandler RequestCompletionHandler) TrackObjectRequest

Creates a new object tracking request with a detected object observation. Full Topic

func TrackObjectRequestFrom

func TrackObjectRequestFrom(ptr unsafe.Pointer) TrackObjectRequest

func (TrackObjectRequest) Init

func (TrackObjectRequest) InitWithCompletionHandler

func (t_ TrackObjectRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) TrackObjectRequest

func (TrackObjectRequest) InitWithDetectedObjectObservation

func (t_ TrackObjectRequest) InitWithDetectedObjectObservation(observation IDetectedObjectObservation) TrackObjectRequest

func (TrackObjectRequest) InitWithDetectedObjectObservationCompletionHandler

func (t_ TrackObjectRequest) InitWithDetectedObjectObservationCompletionHandler(observation IDetectedObjectObservation, completionHandler RequestCompletionHandler) TrackObjectRequest

type TrackRectangleRequest

type TrackRectangleRequest struct {
	TrackingRequest
}

An image analysis request that tracks movement of a previously identified rectangular object across multiple images or video frames. Full Topic

func NewTrackRectangleRequest

func NewTrackRectangleRequest() TrackRectangleRequest

func NewTrackRectangleRequestWithCompletionHandler

func NewTrackRectangleRequestWithCompletionHandler(completionHandler RequestCompletionHandler) TrackRectangleRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewTrackRectangleRequestWithRectangleObservation

func NewTrackRectangleRequestWithRectangleObservation(observation IRectangleObservation) TrackRectangleRequest

Creates a new rectangle tracking request with a rectangle observation. Full Topic

func NewTrackRectangleRequestWithRectangleObservationCompletionHandler

func NewTrackRectangleRequestWithRectangleObservationCompletionHandler(observation IRectangleObservation, completionHandler RequestCompletionHandler) TrackRectangleRequest

Creates a new rectangle tracking request with a rectangle observation. Full Topic

func TrackRectangleRequestFrom

func TrackRectangleRequestFrom(ptr unsafe.Pointer) TrackRectangleRequest

func (TrackRectangleRequest) Init

func (TrackRectangleRequest) InitWithCompletionHandler

func (t_ TrackRectangleRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) TrackRectangleRequest

func (TrackRectangleRequest) InitWithRectangleObservation

func (t_ TrackRectangleRequest) InitWithRectangleObservation(observation IRectangleObservation) TrackRectangleRequest

func (TrackRectangleRequest) InitWithRectangleObservationCompletionHandler

func (t_ TrackRectangleRequest) InitWithRectangleObservationCompletionHandler(observation IRectangleObservation, completionHandler RequestCompletionHandler) TrackRectangleRequest

type TrackingRequest

type TrackingRequest struct {
	ImageBasedRequest
}

The abstract superclass for image analysis requests that track unique features across multiple images or video frames. Full Topic

func NewTrackingRequest

func NewTrackingRequest() TrackingRequest

func NewTrackingRequestWithCompletionHandler

func NewTrackingRequestWithCompletionHandler(completionHandler RequestCompletionHandler) TrackingRequest

Creates a new Vision request with an optional completion handler. Full Topic

func TrackingRequestFrom

func TrackingRequestFrom(ptr unsafe.Pointer) TrackingRequest

func (TrackingRequest) Init

func (t_ TrackingRequest) Init() TrackingRequest

func (TrackingRequest) InitWithCompletionHandler

func (t_ TrackingRequest) InitWithCompletionHandler(completionHandler RequestCompletionHandler) TrackingRequest

func (TrackingRequest) InputObservation

func (t_ TrackingRequest) InputObservation() DetectedObjectObservation

The observation object defining a region to track. Full Topic

func (TrackingRequest) IsLastFrame

func (t_ TrackingRequest) IsLastFrame() bool

A Boolean that indicates the last frame in a tracking sequence. Full Topic

func (TrackingRequest) SetInputObservation

func (t_ TrackingRequest) SetInputObservation(value IDetectedObjectObservation)

The observation object defining a region to track. Full Topic

func (TrackingRequest) SetLastFrame

func (t_ TrackingRequest) SetLastFrame(value bool)

A Boolean that indicates the last frame in a tracking sequence. Full Topic

func (TrackingRequest) SetTrackingLevel

func (t_ TrackingRequest) SetTrackingLevel(value RequestTrackingLevel)

A value for specifying whether to prioritize speed or location accuracy. Full Topic

func (TrackingRequest) TrackingLevel

func (t_ TrackingRequest) TrackingLevel() RequestTrackingLevel

A value for specifying whether to prioritize speed or location accuracy. Full Topic

type TrajectoryObservation

type TrajectoryObservation struct {
	Observation
}

An observation that describes a detected trajectory. Full Topic

func NewTrajectoryObservation

func NewTrajectoryObservation() TrajectoryObservation

func TrajectoryObservationFrom

func TrajectoryObservationFrom(ptr unsafe.Pointer) TrajectoryObservation

func (TrajectoryObservation) DetectedPoints

func (t_ TrajectoryObservation) DetectedPoints() []Point

The centroid points of the detected contour along the trajectory. Full Topic

func (TrajectoryObservation) EquationCoefficients

func (t_ TrajectoryObservation) EquationCoefficients() objc.Object

The coefficients of the parabolic equation. Full Topic

func (TrajectoryObservation) Init

func (TrajectoryObservation) MovingAverageRadius

func (t_ TrajectoryObservation) MovingAverageRadius() float64

The moving average radius of the object the request is tracking. Full Topic

func (TrajectoryObservation) ProjectedPoints

func (t_ TrajectoryObservation) ProjectedPoints() []Point

The centroids of the calculated trajectory from the detected points. Full Topic

type TranslationalImageRegistrationRequest

type TranslationalImageRegistrationRequest struct {
	ImageRegistrationRequest
}

An image analysis request that determines the affine transform necessary to align the content of two images. Full Topic

func NewTranslationalImageRegistrationRequest

func NewTranslationalImageRegistrationRequest() TranslationalImageRegistrationRequest

func NewTranslationalImageRegistrationRequestWithCompletionHandler

func NewTranslationalImageRegistrationRequestWithCompletionHandler(completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new Vision request with an optional completion handler. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOptions

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOptions(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting a Core Graphics image. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting a Core Graphics image, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOrientationOptions

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOrientationOptions(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting a Core Graphics image of known orientation. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOrientationOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOptions

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOptions(ciImage coreimage.IImage, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting a CIImage. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting a CIImage, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOrientationOptions

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting a CIImage of known orientation. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOrientationOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting a CIImage of known orientation, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOptions

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request that targets an image in a sample buffer. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request with a completion handler that targets an image in a sample buffer. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptions

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request that targets an image of a known orientation in a sample buffer. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request with a completion handler that targets an image of a known orientation in a sample buffer. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOptions

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptions

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting an image in a CVPixelBufferRef of known orientation, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOptions

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting an image as raw data. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting an image as raw data, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOrientationOptions

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting a raw data image of known orientation. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOrientationOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting a raw data image of known orientation, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOptions

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOptions(imageURL foundation.IURL, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting an image at the specified URL. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting an image at the specified URL, executing the completion handler when done. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOrientationOptions

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

Creates a new request targeting an image of known orientation, at the specified URL. Full Topic

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOrientationOptionsCompletionHandler

func NewTranslationalImageRegistrationRequestWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

Creates a new request targeting an image of known orientation, at the specified URL, executing the completion handler when done. Full Topic

func TranslationalImageRegistrationRequestFrom

func TranslationalImageRegistrationRequestFrom(ptr unsafe.Pointer) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) Init

func (TranslationalImageRegistrationRequest) InitWithCompletionHandler

func (TranslationalImageRegistrationRequest) InitWithTargetedCGImageOptions

func (TranslationalImageRegistrationRequest) InitWithTargetedCGImageOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCGImageOptionsCompletionHandler(cgImage coregraphics.ImageRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCGImageOrientationOptions

func (TranslationalImageRegistrationRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCGImageOrientationOptionsCompletionHandler(cgImage coregraphics.ImageRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCIImageOptions

func (TranslationalImageRegistrationRequest) InitWithTargetedCIImageOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCIImageOptionsCompletionHandler(ciImage coreimage.IImage, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCIImageOrientationOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCIImageOrientationOptions(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCIImageOrientationOptionsCompletionHandler(ciImage coreimage.IImage, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOptions(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptions(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(sampleBuffer coremedia.SampleBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOptions(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptions(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(pixelBuffer corevideo.PixelBufferRef, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageDataOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageDataOptions(imageData []byte, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageDataOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageDataOptionsCompletionHandler(imageData []byte, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageDataOrientationOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageDataOrientationOptions(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageDataOrientationOptionsCompletionHandler(imageData []byte, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageURLOptions

func (TranslationalImageRegistrationRequest) InitWithTargetedImageURLOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageURLOptionsCompletionHandler(imageURL foundation.IURL, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageURLOrientationOptions

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageURLOrientationOptions(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject) TranslationalImageRegistrationRequest

func (TranslationalImageRegistrationRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler

func (t_ TranslationalImageRegistrationRequest) InitWithTargetedImageURLOrientationOptionsCompletionHandler(imageURL foundation.IURL, orientation imageio.ImagePropertyOrientation, options map[ImageOption]objc.IObject, completionHandler RequestCompletionHandler) TranslationalImageRegistrationRequest

type Vector

type Vector struct {
	objc.Object
}

An immutable, two-dimensional vector represented by its x-axis and y-axis projections. Full Topic

func NewVector

func NewVector() Vector

func NewVectorWithRTheta

func NewVectorWithRTheta(r float64, theta float64) Vector

Creates a new vector in polar coordinate space. Full Topic

func NewVectorWithVectorHeadTail

func NewVectorWithVectorHeadTail(head IPoint, tail IPoint) Vector

Creates a new vector in Cartesian coordinate space. Full Topic

func NewVectorWithXComponentYComponent

func NewVectorWithXComponentYComponent(x float64, y float64) Vector

Creates a new vector in Cartesian coordinate space, based on its x-axis and y-axis projections. Full Topic

func VectorFrom

func VectorFrom(ptr unsafe.Pointer) Vector

func Vector_UnitVectorForVector

func Vector_UnitVectorForVector(vector IVector) Vector

Calculates a vector that’s normalized by preserving its direction, so that the vector length equals 1.0. Full Topic

func Vector_VectorByAddingVectorToVector

func Vector_VectorByAddingVectorToVector(v1 IVector, v2 IVector) Vector

Creates a new vector by adding the specified vectors. Full Topic

func Vector_VectorByMultiplyingVectorByScalar

func Vector_VectorByMultiplyingVectorByScalar(vector IVector, scalar float64) Vector

Creates a new vector by multiplying the specified vector’s x-axis and y-axis projections by the scalar value. Full Topic

func Vector_VectorBySubtractingVectorFromVector

func Vector_VectorBySubtractingVectorFromVector(v1 IVector, v2 IVector) Vector

Creates a new vector by subtracting the first vector from the second vector. Full Topic

func Vector_ZeroVector

func Vector_ZeroVector() Vector

A vector object with zero length. Full Topic

func (Vector) Init

func (v_ Vector) Init() Vector

func (Vector) InitWithRTheta

func (v_ Vector) InitWithRTheta(r float64, theta float64) Vector

func (Vector) InitWithVectorHeadTail

func (v_ Vector) InitWithVectorHeadTail(head IPoint, tail IPoint) Vector

func (Vector) InitWithXComponentYComponent

func (v_ Vector) InitWithXComponentYComponent(x float64, y float64) Vector

func (Vector) Length

func (v_ Vector) Length() float64

The length, or absolute value, of the vector. Full Topic

func (Vector) R

func (v_ Vector) R() float64

The radius, absolute value, or length of the vector. Full Topic

func (Vector) SquaredLength

func (v_ Vector) SquaredLength() float64

The squared length of the vector. Full Topic

func (Vector) Theta

func (v_ Vector) Theta() float64

The angle between the vector direction and the positive direction of the x-axis. Full Topic

func (Vector) X

func (v_ Vector) X() float64

A signed projection that indicates the vector’s direction on the x-axis. Full Topic

func (Vector) Y

func (v_ Vector) Y() float64

A signed projection that indicates the vector’s direction on the y-axis. Full Topic

type VideoProcessingOption

type VideoProcessingOption string

Options to pass to the video processor when adding requests. Full Topic

const (
	VideoProcessingOptionFrameCadence VideoProcessingOption = "VNVideoProcessingOptionFrameCadence"
	VideoProcessingOptionTimeInterval VideoProcessingOption = "VNVideoProcessingOptionTimeInterval"
)

type VideoProcessor

type VideoProcessor struct {
	objc.Object
}

An object that performs offline analysis of video content. Full Topic

func NewVideoProcessor

func NewVideoProcessor() VideoProcessor

func NewVideoProcessorWithURL

func NewVideoProcessorWithURL(videoURL foundation.IURL) VideoProcessor

Creates a video processor to perform Vision requests against the specified video asset. Full Topic

func VideoProcessorFrom

func VideoProcessorFrom(ptr unsafe.Pointer) VideoProcessor

func (VideoProcessor) AddRequestProcessingOptionsError

func (v_ VideoProcessor) AddRequestProcessingOptionsError(request IRequest, processingOptions IVideoProcessorRequestProcessingOptions, error foundation.IError) bool

Adds a request with processing options to the video processor. Full Topic

func (VideoProcessor) AnalyzeTimeRangeError

func (v_ VideoProcessor) AnalyzeTimeRangeError(timeRange coremedia.TimeRange, error foundation.IError) bool

Analyzes a time range of video content. Full Topic

func (VideoProcessor) Cancel

func (v_ VideoProcessor) Cancel()

Cancels the video processing. Full Topic

func (VideoProcessor) Init

func (v_ VideoProcessor) Init() VideoProcessor

func (VideoProcessor) InitWithURL

func (v_ VideoProcessor) InitWithURL(videoURL foundation.IURL) VideoProcessor

func (VideoProcessor) RemoveRequestError

func (v_ VideoProcessor) RemoveRequestError(request IRequest, error foundation.IError) bool

Removes a Vision request from the video processor’s request queue. Full Topic

type VideoProcessorCadence

type VideoProcessorCadence struct {
	objc.Object
}

An object that defines the cadence at which to process video. Full Topic

func NewVideoProcessorCadence

func NewVideoProcessorCadence() VideoProcessorCadence

func VideoProcessorCadenceFrom

func VideoProcessorCadenceFrom(ptr unsafe.Pointer) VideoProcessorCadence

func (VideoProcessorCadence) Init

type VideoProcessorFrameRateCadence

type VideoProcessorFrameRateCadence struct {
	VideoProcessorCadence
}

An object that defines a frame-based cadence for processing a video stream. Full Topic

func NewVideoProcessorFrameRateCadence

func NewVideoProcessorFrameRateCadence() VideoProcessorFrameRateCadence

func NewVideoProcessorFrameRateCadenceWithFrameRate

func NewVideoProcessorFrameRateCadenceWithFrameRate(frameRate int) VideoProcessorFrameRateCadence

Creates a new frame-based cadence with a frame rate. Full Topic

func VideoProcessorFrameRateCadenceFrom

func VideoProcessorFrameRateCadenceFrom(ptr unsafe.Pointer) VideoProcessorFrameRateCadence

func (VideoProcessorFrameRateCadence) FrameRate

func (v_ VideoProcessorFrameRateCadence) FrameRate() int

The frame rate at which to process video. Full Topic

func (VideoProcessorFrameRateCadence) Init

func (VideoProcessorFrameRateCadence) InitWithFrameRate

func (v_ VideoProcessorFrameRateCadence) InitWithFrameRate(frameRate int) VideoProcessorFrameRateCadence

type VideoProcessorRequestProcessingOptions

type VideoProcessorRequestProcessingOptions struct {
	objc.Object
}

An object that defines a video processor’s configuration options. Full Topic

func NewVideoProcessorRequestProcessingOptions

func NewVideoProcessorRequestProcessingOptions() VideoProcessorRequestProcessingOptions

func VideoProcessorRequestProcessingOptionsFrom

func VideoProcessorRequestProcessingOptionsFrom(ptr unsafe.Pointer) VideoProcessorRequestProcessingOptions

func (VideoProcessorRequestProcessingOptions) Cadence

The cadence the video processor maintains to process the request. Full Topic

func (VideoProcessorRequestProcessingOptions) Init

func (VideoProcessorRequestProcessingOptions) SetCadence

The cadence the video processor maintains to process the request. Full Topic

type VideoProcessorTimeIntervalCadence

type VideoProcessorTimeIntervalCadence struct {
	VideoProcessorCadence
}

An object that defines a time-based cadence for processing a video stream. Full Topic

func NewVideoProcessorTimeIntervalCadence

func NewVideoProcessorTimeIntervalCadence() VideoProcessorTimeIntervalCadence

func NewVideoProcessorTimeIntervalCadenceWithTimeInterval

func NewVideoProcessorTimeIntervalCadenceWithTimeInterval(timeInterval corefoundation.TimeInterval) VideoProcessorTimeIntervalCadence

Creates a new time-based cadence with a time interval. Full Topic

func VideoProcessorTimeIntervalCadenceFrom

func VideoProcessorTimeIntervalCadenceFrom(ptr unsafe.Pointer) VideoProcessorTimeIntervalCadence

func (VideoProcessorTimeIntervalCadence) Init

func (VideoProcessorTimeIntervalCadence) InitWithTimeInterval

func (VideoProcessorTimeIntervalCadence) TimeInterval

The time interval of the cadence. Full Topic

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL