Referensi Framework MLKitSegmentationSelfie
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Konstanta
Konstanta berikut tersedia secara global.
-
Dioptimalkan untuk gambar statis tunggal.
-
Dioptimalkan untuk mempercepat pemrosesan video streaming dengan memanfaatkan hasil dari
gambar.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-21 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-08-21 UTC."],[[["There are two globally available constants: `singleImage` and `stream`."],["`singleImage` is optimized for processing single, static images."],["`stream` is optimized for processing streaming video by utilizing data from previous images to speed up processing."]]],["The content defines two globally available constants for image processing: `singleImage` and `stream`. `singleImage` is optimized for static images, while `stream` is designed for video streams, speeding up processing by utilizing data from preceding images. Both constants are defined in Swift and are associated with the `MLKSegmenterMode` type, which is part of the ML Kit framework.\n"]]