Platforms to show: All Mac Windows Linux Cross-Platform
Vision
Classes for Apple's Vision framework to detect faces, barcodes and text.
- Classes
- class VNBarcodeObservationMBS
- method Constructor
- shared method VNBarcodeSymbologyAztec as String
- shared method VNBarcodeSymbologyCodabar as String
- shared method VNBarcodeSymbologyCode128 as String
- shared method VNBarcodeSymbologyCode39 as String
- shared method VNBarcodeSymbologyCode39Checksum as String
- shared method VNBarcodeSymbologyCode39FullASCII as String
- shared method VNBarcodeSymbologyCode39FullASCIIChecksum as String
- shared method VNBarcodeSymbologyCode93 as String
- shared method VNBarcodeSymbologyCode93i as String
- shared method VNBarcodeSymbologyDataMatrix as String
- shared method VNBarcodeSymbologyEAN13 as String
- shared method VNBarcodeSymbologyEAN8 as String
- shared method VNBarcodeSymbologyGS1DataBar as String
- shared method VNBarcodeSymbologyGS1DataBarExpanded as String
- shared method VNBarcodeSymbologyGS1DataBarLimited as String
- shared method VNBarcodeSymbologyI2of5 as String
- shared method VNBarcodeSymbologyI2of5Checksum as String
- shared method VNBarcodeSymbologyITF14 as String
- shared method VNBarcodeSymbologyMicroPDF417 as String
- shared method VNBarcodeSymbologyMicroQR as String
- shared method VNBarcodeSymbologyPDF417 as String
- shared method VNBarcodeSymbologyQR as String
- shared method VNBarcodeSymbologyUPCE as String
- property barcodeDescriptor as Variant
- property payloadStringValue as String
- property symbology as String
- class VNClassificationObservationMBS
- method Constructor
- method hasMinimumPrecision(minimumPrecision as single, recall as single) as Boolean
- method hasMinimumRecall(minimumRecall as single, precision as single) as Boolean
- property hasPrecisionRecallCurve as Boolean
- property identifier as String
- class VNClassifyImageRequestMBS
- shared method available as Boolean
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- shared method knownClassificationsForRevision(requestRevision as Integer = 1, byref error as NSErrorMBS) as VNClassificationObservationMBS()
- method supportedIdentifiers(byref error as NSErrorMBS) as String()
- class VNCoreMLFeatureValueObservationMBS
- method Constructor
- property featureName as String
- property featureValue as Variant
- class VNCoreMLModelMBS
- method Constructor(MLModel as Variant)
- shared method modelForMLModel(MLModel as Variant) as VNCoreMLModelMBS
- property featureProvider as Variant
- property inputImageFeatureName as String
- class VNCoreMLRequestMBS
- method Constructor(model as VNCoreMLModelMBS, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- property imageCropAndScaleOption as Integer
- property model as VNCoreMLModelMBS
- class VNDetectBarcodesRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- method setSymbologies(symbologies() as String)
- shared method supportedSymbologies as String()
- method supportedSymbologies(byref error as NSErrorMBS) as String()
- method symbologies as String()
- class VNDetectedObjectObservationMBS
- method Constructor(boundingBox as CGRectMBS)
- method Constructor(requestRevision as Integer, boundingBox as CGRectMBS)
- property boundingBox as CGRectMBS
- class VNDetectFaceCaptureQualityRequestMBS
- shared method available as Boolean
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- method inputFaceObservations as VNFaceObservationMBS()
- method setInputFaceObservations(faces() as VNFaceObservationMBS)
- class VNDetectFaceLandmarksRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- method inputFaceObservations as VNFaceObservationMBS()
- method setInputFaceObservations(faces() as VNFaceObservationMBS)
- shared method supportsConstellation(requestRevision as Integer = 1, constellation as Integer) as Boolean
- property constellation as Integer
- class VNDetectFaceRectanglesRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNDetectHorizonRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNDetectHumanRectanglesRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNDetectRectanglesRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- property maximumAspectRatio as Double
- property maximumObservations as Integer
- property minimumAspectRatio as Double
- property minimumConfidence as Double
- property minimumSize as Double
- property quadratureTolerance as Double
- class VNDetectTextRectanglesRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- property reportCharacterBoxes as Boolean
- class VNFaceLandmarkRegion2DMBS
- method Constructor
- method normalizedPoints as CGPointMBS()
- method pointsInImageOfSize(imageSize as CGSizeMBS) as CGPointMBS()
- method precisionEstimatesPerPoint as Variant()
- class VNFaceLandmarkRegionMBS
- method Constructor
- method copy as VNFaceLandmarkRegionMBS
- property Handle as Integer
- property pointCount as Integer
- property requestRevision as Integer
- class VNFaceLandmarks2DMBS
- method Constructor
- property allPoints as VNFaceLandmarkRegion2DMBS
- property faceContour as VNFaceLandmarkRegion2DMBS
- property innerLips as VNFaceLandmarkRegion2DMBS
- property leftEye as VNFaceLandmarkRegion2DMBS
- property leftEyebrow as VNFaceLandmarkRegion2DMBS
- property leftPupil as VNFaceLandmarkRegion2DMBS
- property medianLine as VNFaceLandmarkRegion2DMBS
- property nose as VNFaceLandmarkRegion2DMBS
- property noseCrest as VNFaceLandmarkRegion2DMBS
- property outerLips as VNFaceLandmarkRegion2DMBS
- property rightEye as VNFaceLandmarkRegion2DMBS
- property rightEyebrow as VNFaceLandmarkRegion2DMBS
- property rightPupil as VNFaceLandmarkRegion2DMBS
- class VNFaceLandmarksMBS
- method Constructor
- method copy as VNFaceLandmarksMBS
- property confidence as Double
- property Handle as Integer
- property requestRevision as Integer
- class VNFaceObservationMBS
- method Constructor
- shared method faceObservationWithRequestRevision(requestRevision as Integer = 2, boundingBox as CGRectMBS, roll as Variant, yaw as Variant) as VNFaceObservationMBS
- property faceCaptureQuality as Variant
- property landmarks as VNFaceLandmarks2DMBS
- property roll as Variant
- property yaw as Variant
- class VNFeaturePrintObservationMBS
- shared method available as Boolean
- method computeDistance(byref outDistance as Single, featurePrint as VNFeaturePrintObservationMBS, byref error as NSErrorMBS) as Boolean
- method Constructor
- method Values as Double()
- property data as MemoryBlock
- property elementCount as Integer
- property elementType as Integer
- class VNGenerateAttentionBasedSaliencyImageRequestMBS
- shared method available as Boolean
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNGenerateImageFeaturePrintRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- property imageCropAndScaleOption as Integer
- class VNGenerateObjectnessBasedSaliencyImageRequestMBS
- shared method available as Boolean
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNHomographicImageRegistrationRequestMBS
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNHorizonObservationMBS
- method Constructor
- property angle as Double
- property transform as CGAffineTransformMBS
- class VNImageAlignmentObservationMBS
- method Constructor
- class VNImageBasedRequestMBS
- method Constructor
- property regionOfInterest as CGRectMBS
- class VNImageHomographicAlignmentObservationMBS
- method Constructor
- property warpTransform as MemoryBlock
- class VNImageRegistrationRequestMBS
- method Constructor
- class VNImageRequestHandlerMBS
- method Constructor
- method performRequests(requests() as VNRequestMBS, byref error as NSErrorMBS) as Boolean
- method performRequestsAsync(requests() as VNRequestMBS, DelegateHandler as VNPerformRequestsCompletedMBS = nil, tag as variant = nil)
- shared method RequestWithCGImage(CGImage as CGImageMBS, orientation as Integer = 0, Options as Dictionary = nil) as VNImageRequestHandlerMBS
- shared method RequestWithCIImage(CIImage as Variant, orientation as Integer = 0, Options as Dictionary = nil) as VNImageRequestHandlerMBS
- shared method RequestWithCVPixelBuffer(CVPixelBuffer as Variant, orientation as Integer = 0, Options as Dictionary = nil) as VNImageRequestHandlerMBS
- shared method RequestWithData(Data as MemoryBlock, orientation as Integer = 0, Options as Dictionary = nil) as VNImageRequestHandlerMBS
- shared method RequestWithFile(File as FolderItem, orientation as Integer = 0, Options as Dictionary = nil) as VNImageRequestHandlerMBS
- shared method RequestWithPicture(Picture as Picture, orientation as Integer = 0, Options as Dictionary = nil) as VNImageRequestHandlerMBS
- shared method VNImageOptionCameraIntrinsics as String
- shared method VNImageOptionCIContext as String
- shared method VNImageOptionProperties as String
- property Handle as Integer
- class VNImageTranslationAlignmentObservationMBS
- method Constructor
- property alignmentTransform as CGAffineTransformMBS
- class VNObservationMBS
- method Constructor
- method copy as VNObservationMBS
- property className as String
- property Confidence as Double
- property Handle as Integer
- property requestRevision as Integer
- property UUID as String
- class VNPixelBufferObservationMBS
- method CIImage as Variant
- method Constructor
- property featureName as String
- property pixelBuffer as Variant
- class VNRecognizeAnimalsRequestMBS
- shared method available as Boolean
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- shared method knownAnimalIdentifiersForRevision(requestRevision as Integer = 1, byref error as NSErrorMBS) as String()
- shared method VNAnimalIdentifierCat as String
- shared method VNAnimalIdentifierDog as String
- class VNRecognizedObjectObservationMBS
- method Constructor
- method labels as VNClassificationObservationMBS()
- class VNRecognizedTextMBS
- shared method available as Boolean
- method boundingBoxForRange(range as NSRangeMBS, byref error as NSErrorMBS) as VNRectangleObservationMBS
- method Constructor
- method copy as VNRecognizedTextMBS
- property confidence as Double
- property Handle as Integer
- property string as String
- class VNRecognizedTextObservationMBS
- shared method available as Boolean
- method Constructor
- method topCandidates(maxCandidateCount as integer) as VNRecognizedTextMBS()
- property string as String
- property topCanditate as VNRecognizedTextMBS
- class VNRecognizeTextRequestMBS
- shared method available as Boolean
- method Constructor(DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- method customWords as String()
- method recognitionLanguages as String()
- method setCustomWords(customWords() as String)
- method setProgressHandler(ProgressHandler as VNProgressHandlerMBS, tag as variant = nil)
- method setRecognitionLanguages(recognitionLanguages() as String)
- shared method supportedRecognitionLanguages(recognitionLevel as Integer, byref error as NSErrorMBS) as String()
- shared method supportedRecognitionLanguages(recognitionLevel as Integer, requestRevision as Integer, byref error as NSErrorMBS) as String()
- property indeterminate as Boolean
- property minimumTextHeight as Double
- property recognitionLevel as Integer
- property usesLanguageCorrection as Boolean
- class VNRectangleObservationMBS
- method Constructor
- shared method rectangleObservationWithRequestRevision(requestRevision as Integer = 1, topLeft as CGPointMBS, bottomLeft as CGPointMBS, bottomRight as CGPointMBS, topRight as CGPointMBS) as VNRectangleObservationMBS
- property bottomLeft as CGPointMBS
- property bottomRight as CGPointMBS
- property topLeft as CGPointMBS
- property topRight as CGPointMBS
- class VNRequestMBS
- method cancel
- method Constructor
- method copy as VNRequestMBS
- shared method currentRevision as Integer
- shared method defaultRevision as Integer
- method results as VNObservationMBS()
- shared method supportedRevisions as NSIndexSetMBS
- property className as String
- property ClassPath as String
- property Handle as Integer
- property preferBackgroundProcessing as Boolean
- property revision as Integer
- property usesCPUOnly as Boolean
- class VNSaliencyImageObservationMBS
- shared method available as Boolean
- method Constructor
- method salientObjects as VNRectangleObservationMBS()
- class VNSequenceRequestHandlerMBS
- method Constructor
- method performRequestsOnCGImage(requests() as VNRequestMBS, CGImage as CGImageMBS, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnCIImage(requests() as VNRequestMBS, CIImage as Variant, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnCVPixelBuffer(requests() as VNRequestMBS, CVPixelBuffer as Variant, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnImageData(requests() as VNRequestMBS, Data as MemoryBlock, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnImageFile(requests() as VNRequestMBS, File as FolderItem, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- method performRequestsOnPicture(requests() as VNRequestMBS, Picture as Picture, orientation as Integer = 0, byref error as NSErrorMBS) as Boolean
- property Handle as Integer
- class VNTargetedImageRequestMBS
- method Constructor
- shared method TargetedImageRequestWithCGImage(CGImage as CGImageMBS, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS
- shared method TargetedImageRequestWithCIImage(CIImage as Variant, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS
- shared method TargetedImageRequestWithCVPixelBuffer(CVPixelBuffer as Variant, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS
- shared method TargetedImageRequestWithImageData(Data as MemoryBlock, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS
- shared method TargetedImageRequestWithImageFile(File as FolderItem, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS
- shared method TargetedImageRequestWithPicture(Picture as Picture, orientation as Integer = 0, options as Dictionary, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil) as VNTargetedImageRequestMBS
- class VNTextObservationMBS
- method characterBoxes as VNRectangleObservationMBS()
- method Constructor
- class VNTrackingRequestMBS
- method Constructor
- property inputObservation as VNDetectedObjectObservationMBS
- property LastFrame as Boolean
- property trackingLevel as Integer
- class VNTrackObjectRequestMBS
- method Constructor(observation as VNDetectedObjectObservationMBS, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNTrackRectangleRequestMBS
- method Constructor(observation as VNRectangleObservationMBS, DelegateHandler as VNRequestCompletedMBS = nil, tag as variant = nil)
- class VNTranslationalImageRegistrationRequestMBS
- method Constructor
- class VNBarcodeObservationMBS
- Modules
- module VisionModuleMBS
- method available as Boolean
- method ElementSize(ElementType as Integer) as Integer
- method ImagePointForNormalizedPoint(normalizedPoint as CGPointMBS, imageWidth as Integer, imageHeight as Integer) as CGPointMBS
- method ImageRectForNormalizedRect(normalizedRect as CGRectMBS, imageWidth as Integer, imageHeight as Integer) as CGRectMBS
- method NormalizedIdentityRect as CGRectMBS
- method NormalizedRectForImageRect(imageRect as CGRectMBS, imageWidth as Integer, imageHeight as Integer) as CGRectMBS
- method NormalizedRectIsIdentityRect(rect as CGRectMBS) as boolean
- method VNErrorDomain as String
- property VersionNumber as Double
- delegate VNPerformRequestsCompletedMBS(Requests() as VNRequestMBS, result as boolean, error as NSErrorMBS, tag as Variant)
- delegate VNProgressHandlerMBS(Request as VNRequestMBS, fractionCompleted as double, error as NSErrorMBS, tag as Variant)
- delegate VNRequestCompletedMBS(Request as VNRequestMBS, error as NSErrorMBS, tag as Variant)
- module VisionModuleMBS
- Blog Entries
- Videos
Release notes
- Version 23.3
- Added supportedIdentifiers method to VNClassifyImageRequestMBS class.
- Added supportedSymbologies method to VNDetectBarcodesRequestMBS class.
- Version 23.2
- Fixed a memory leak in TargetedImageRequestWithImageData, TargetedImageRequestWithImageFile, TargetedImageRequestWithCVPixelBuffer, TargetedImageRequestWithCIImage and TargetedImageRequestWithCGImage methods in VNTargetedImageRequestMBS class.
- Fixed a memory leak in VNTargetedImageRequestMBS, VNSequenceRequestHandlerMBS and VNImageRequestHandlerMBS when passing in a Xojo picture.
- Version 22.3
- Fixed a problem with performRequestsAsync crashing in VNImageRequestHandlerMBS class when used in thread.
- Version 21.5
- Fixed problem in VNTargetedImageRequestMBS with passing CVImageBufferMBS as CVPixelBufferMBS.
- Version 21.3
- Updated VNBarcodeObservationMBS and VNDetectBarcodesRequestMBS classes to support newer barcode types in macOS 12.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.