PNG JPG BMP TIFF SVG
Aspose.BarCode  for Node.js via Java
Swiss Post Parcel

قراءة الرموز الشريطية لـ Swiss Post Parcel باستخدام Node.js via Java

اقرأ Swiss Post Parcel في JavaScript باستخدام Aspose.BarCode من جانب الخادم لواجهة برمجة تطبيقات Node.js via Java

How to Read Swiss Post Parcel Using Node.js via Java

للتعرف على Swiss Post Parcel داخل تطبيقات Node.js ، استخدم Aspose.BarCode لـ Node.js عبر Java ، مكتبة باركود قوية ومتعددة الاستخدامات وسهلة الاستخدام تم تقديمها للبيئات المستندة إلى Java. يمكنك تحميل [aspose.barcode] ( https://releases.aspose.com/barcode/nodejs/ ) لجافا سكريبت مباشرة من NPM:

Command

  > npm i aspose.barcode

خطوات فحص Swiss Post Parcel في JavaScript

Aspose.BarCode يسمح للمطورين بقراءة الرموز الشريطية Swiss Post Parcel من الدفق أو الصورة مع بضعة أسطر من التعليمات البرمجية

  • قم بإنشاء كائن من فئة Aspose.BarCode.BarCodeReader
  • قم بتمرير مسار الملف المصدر الذي يحتوي على Swiss Post Parcel كمعامل
  • قم بتعيين أنواع الرموز الشريطية المستهدفة في DecodeType كمعامل ثاني
  • تكرار جميع الرموز الشريطية المكتشفة
  • إحضار نص الرمز الشريطي الناتج باستخدام خاصية CodeText

متطلبات النظام

يتم دعم واجهات برمجة التطبيقات Aspose على جميع المنصات وأنظمة التشغيل الرئيسية. قبل تنفيذ نموذج التعليمات البرمجية أدناه ، يرجى التأكد من أن نظامك يتوافق مع المتطلبات التالية.

  • Microsoft Windows أو Linux أو أي نظام تشغيل متوافق مع Node.js
  • تثبيت Node.js و Node.js / Java Bridge
  • Oracle JDK الإصدار 7 أو أعلى
Ready to recognize يميز قم بإسقاط ملف هنا أو انقر للتصفح *

* بتحميل ملفاتك أو استخدام الخدمة ، فإنك توافق على شروط استخدم و سياسة الخصوصية .

Code to be executed - JavaScript

    
const barcode_ = require("aspose.barcode");
const aspose_barcode = barcode_.AsposeBarcode

let BarCodeReader = aspose_barcode.BarCodeReader;
let QualitySettings = aspose_barcode.QualitySettings;

let reader = new BarCodeReader("<file name>", null, DecodeType.SwissPostParcel);
reader.readBarCodes().forEach(function (result, i, results)
{
    console.log(result.getCodeText());
    console.log(result.getCodeTypeName());
});

نتيجة الاعتراف

Other Supported Barcode Recognition Symbologies

Using Node.js via Java, One can also read barcode of different symbologies including the following.

2D:

Linear:

Postal: