ข้อมูลอ้างอิงเฟรมเวิร์ก MLKitVision
ค่าคงที่
ค่าคงที่ต่อไปนี้มีให้บริการทั่วโลก
-
แหล่งที่มาของรูปภาพเป็น UIImage
-
แหล่งที่มาของรูปภาพเป็น CVPixelBuffer
-
แหล่งที่มาของรูปภาพเป็น CMSampleBuffer
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-20 UTC
[null,null,["อัปเดตล่าสุด 2024-08-20 UTC"],[[["This documentation outlines globally available constants used for specifying the source type of a `GMLImage`."],["`GMLImage` source can be represented by `UIImage`, `CVPixelBuffer`, or `CMSampleBuffer`, each associated with a specific constant."],["These constants (`GMLImageSourceTypeImage`, `GMLImageSourceTypePixelBuffer`, `GMLImageSourceTypeSampleBuffer`) are primarily used within the Objective-C environment."]]],["The provided content defines three constants related to image source types in Objective-C. `GMLImageSourceTypeImage` (value 0) signifies a `UIImage` source. `GMLImageSourceTypePixelBuffer` (value 1) denotes a `CVPixelBuffer` source. `GMLImageSourceTypeSampleBuffer` (value 2) indicates a `CMSampleBuffer` source. Each constant represents a specific type of image data format that can be used. These constants are available globally.\n"]]