BementBuildingClassifierInput
@available(OSX 10.14, iOS 12.0, tvOS 12.0, *)
@available(watchOS, unavailable)
class BementBuildingClassifierInput : MLFeatureProvider
Model Prediction Input Type
-
Input image to be classified as color (kCVPixelFormatType_32BGRA) image buffer, 299 pixels wide by 299 pixels high
Declaration
Swift
var image: CVPixelBuffer
-
Declaration
Swift
var featureNames: Set<String> { get }
-
Declaration
Swift
func featureValue(for featureName: String) -> MLFeatureValue?
-
Declaration
Swift
init(image: CVPixelBuffer)