تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
مسح الرمز الشريطي
plat_iosplat_android
من خلال واجهة برمجة التطبيقات للمسح الضوئي للرموز الشريطية من ML Kit، يمكنك قراءة البيانات المشفّرة باستخدام
بتنسيقات الرمز الشريطي القياسية. يتم مسح الرمز الشريطي ضوئيًا على الجهاز،
تتطلب اتصالاً بالشبكة.
الرموز الشريطية هي طريقة سهلة لتمرير المعلومات من العالم الحقيقي إلى
التطبيق. وعلى وجه الخصوص، عند استخدام التنسيقات ثنائية الأبعاد مثل رمز الاستجابة السريعة، يمكنك ترميز
البيانات المنظَّمة مثل معلومات الاتصال أو بيانات اعتماد شبكة Wi-Fi لأنّ
بإمكان مجموعة أدوات تعلُّم الآلة التعرّف على هذه البيانات وتحليلها تلقائيًا، وبإمكان تطبيقك الاستجابة
بطريقة ذكية عندما يمسح المستخدم ضوئيًا الرمز الشريطي.
امسح ضوئيًا جميع تنسيقات الرموز الشريطية المتوافقة بدون الحاجة إلى تحديدها
بالتنسيق الذي تبحث عنه. أو يمكنك زيادة سرعة المسح من خلال تقييد
أداة الكشف عن التنسيقات التي تهتم بها فقط.
لاستخراج البيانات المنظَّمة
يتم تخزين البيانات المنظمة باستخدام أحد التنسيقات الثنائية الأبعاد المعتمدة
تلقائيًا. تتضمن أنواع المعلومات المتوفرة عناوين URL
معلومات الاتصال، أحداث التقويم، عناوين البريد الإلكتروني، الهاتف
الأرقام، رسائل SMS، أرقام ISBN، معلومات اتصال WiFi،
الموقع الجغرافي ومعلومات عن برنامج التشغيل المتوافقة مع معيار AAMVA.
تعمل مع أي اتجاه
يتم التعرّف على الرموز الشريطية ومسحها ضوئيًا بغض النظر عن اتجاهها:
الجانب الأيمن أو مقلوب أو جانبيًا.
يتم تشغيلها على الجهاز
يتم إجراء مسح الرمز الشريطي ضوئيًا بالكامل على الجهاز،
تتطلب اتصالاً بالشبكة.
تاريخ التعديل الأخير: 2025-09-06 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-09-06 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["Barcode Scanning \nplat_ios plat_android \n\nWith ML Kit's barcode scanning API, you can read data encoded using most\nstandard barcode formats. Barcode scanning happens on the device, and doesn't\nrequire a network connection.\n\nBarcodes are a convenient way to pass information from the real world to your\napp. In particular, when using 2D formats such as QR code, you can encode\nstructured data such as contact information or WiFi network credentials. Because\nML Kit can automatically recognize and parse this data, your app can respond\nintelligently when a user scans a barcode.\n\n[iOS](/docs/ml-kit/ios/read-barcodes)\n[Android](/docs/ml-kit/android/read-barcodes)\n\nIf you're a Flutter developer, you might be interested in\n[FlutterFire](https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_ml_vision),\nwhich includes a plugin for Firebase's ML Vision APIs.\n| This is a beta release of ML Kit for Firebase. This API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy.\n\nKey capabilities\n\n|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Reads most standard formats | - Linear formats: Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A, UPC-E - 2D formats: Aztec, Data Matrix, PDF417, QR Code |\n| Automatic format detection | Scan for all supported barcode formats at once, without having to specify the format you're looking for. Or, boost scanning speed by restricting the detector to only the formats you're interested in. |\n| Extracts structured data | Structured data stored using one of the supported 2D formats are automatically parsed. Supported information types include URLs, contact information, calendar events, email addresses, phone numbers, SMS message prompts, ISBNs, WiFi connection information, geographic location, and AAMVA-standard driver information. |\n| Works with any orientation | Barcodes are recognized and scanned regardless of their orientation: right-side-up, upside-down, or sideways. |\n| Runs on the device | Barcode scanning is performed completely on the device, and doesn't require a network connection. |\n\nExample results\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | | Result || |---------------|------------------------------------------| | **Corners** | (49,125), (172,125), (172,160), (49,160) | | **Raw value** | 2404105001722 | |\n\n|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | | Result || |----------------------|-----------------------------------------------------------------------------------------------------------------| | **Corners** | (87,87) (612,87) (612,612) (87,612) | | **Raw value** | `WIFI:S:SB1Guest;P:12345;T:WEP;;` | | **WiFi information** | |--------------|----------| | **SSID** | SB1Guest | | **Password** | 12345 | | **Type** | WEP | | |"]]