MediaPipeTasksVision Framework Reference
Functions
The following functions are available globally.
-
Declaration
Objective-C
NS_INLINE NSString *MPPRunningModeDisplayName(MPPRunningMode runningMode) {
switch (runningMode) {
case MPPRunningModeImage:
return @"Image";
case MPPRunningModeVideo:
return @"Video";
case MPPRunningModeLiveStream:
return @"Live Stream";
default:
return nil;
}
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksVision Framework Reference\n\nFunctions\n=========\n\nThe following functions are available globally.\n- `\n ``\n ``\n `\n\n ### [MPPRunningModeDisplayName](#/c:MPPRunningMode.h@F@MPPRunningModeDisplayName)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n NS_INLINE NSString *MPPRunningModeDisplayName(/edge/api/mediapipe/objc/vision/Enums/MPPRunningMode runningMode) {\n switch (runningMode) {\n case MPPRunningModeImage:\n return @\"Image\";\n case MPPRunningModeVideo:\n return @\"Video\";\n case MPPRunningModeLiveStream:\n return @\"Live Stream\";\n default:\n return nil;\n }\n }"]]