MLKitObjectDetection फ़्रेमवर्क रेफ़रंस
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
MLKCommonObjectDetectorOptions
@interface MLKCommonObjectDetectorOptions : NSObject
सभी तरह के ऑब्जेक्ट डिटेक्टर के साथ शेयर किए जाने वाले सामान्य कॉन्फ़िगरेशन.
-
इससे पता चलता है कि ऑब्जेक्ट की कैटगरी तय करने की सुविधा चालू है या नहीं. डिफ़ॉल्ट वैल्यू false
है.
एलान
Objective-C
@property (nonatomic) BOOL shouldEnableClassification;
-
इससे पता चलता है कि डिटेक्टर को इमेज या फ़्रेम में, पहचाने गए सभी ऑब्जेक्ट दिखाने चाहिए या नहीं.
अगर इसे false
पर सेट किया जाता है, तो डिटेक्टर सिर्फ़ सबसे प्रमुख ऑब्जेक्ट का पता लगाता है. डिफ़ॉल्ट वैल्यूfalse
है.
एलान
Objective-C
@property (nonatomic) BOOL shouldEnableMultipleObjects;
-
ऑब्जेक्ट डिटेक्टर के लिए मोड. डिफ़ॉल्ट वैल्यू .stream
है.
-
उपलब्ध नहीं हैं. सबक्लास में क्लास के तरीकों का इस्तेमाल करें.
एलान
Objective-C
- (nonnull instancetype)init;
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["MLKCommonObjectDetectorOptions provides configuration settings for object detection tasks."],["It allows enabling object classification and multiple object detection."],["Users can set the detector mode, such as stream or single image."],["Initialization should be done using specific subclass methods, not the default `init`."]]],["`MLKCommonObjectDetectorOptions` configures object detectors, offering properties to customize their behavior. `shouldEnableClassification` (default: `false`) enables object classification. `shouldEnableMultipleObjects` (default: `false`) controls whether all or only the most prominent object is returned. `detectorMode` (default: `.stream`) defines the detector's operational mode. The standard initializer `init` is unavailable; subclasses' class methods should be used instead.\n"]]