Dokumentacja wspólnej platformy MLKitSegmentation
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Stałe
Poniższe stałe są dostępne na całym świecie.
-
Zoptymalizowane pod kątem pojedynczych obrazów statycznych.
-
Zoptymalizowane pod kątem przyspieszenia przetwarzania strumieniowej transmisji wideo przy użyciu wyników poprzednich
obrazów.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThere are two globally available constants: \u003ccode\u003eMLKSegmenterModeSingleImage\u003c/code\u003e and \u003ccode\u003eMLKSegmenterModeStream\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKSegmenterModeSingleImage\u003c/code\u003e is optimized for processing single, static images.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKSegmenterModeStream\u003c/code\u003e is optimized for processing streaming video by using information from previously processed images for faster results.\u003c/p\u003e\n"]]],[],null,["# MLKitSegmentationCommon Framework Reference\n\nConstants\n=========\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n ### [MLKSegmenterModeSingleImage](#/c:@MLKSegmenterModeSingleImage)\n\n `\n ` \n Optimized for single static images. \n\n #### Declaration\n\n Objective-C \n\n extern const /ml-kit/reference/ios/mlkitsegmentationcommon/api/reference/Type-Definitions#/c:MLKCommonSegmenterOptions.h@T@MLKSegmenterMode MLKSegmenterModeSingleImage\n\n- `\n ``\n ``\n `\n\n ### [MLKSegmenterModeStream](#/c:@MLKSegmenterModeStream)\n\n `\n ` \n Optimized to expedite the processing of a streaming video by leveraging the results from previous\n images. \n\n #### Declaration\n\n Objective-C \n\n extern const /ml-kit/reference/ios/mlkitsegmentationcommon/api/reference/Type-Definitions#/c:MLKCommonSegmenterOptions.h@T@MLKSegmenterMode MLKSegmenterModeStream"]]