読み取り速度を設定する
IronBarCode は、処理速度と精度を柔軟に制御し、大量のスキャンのパフォーマンスとリソース効率のバランスをとることで、バーコードの読み取りを強化します。 開発者は、入力画像の品質と利用可能なリソースに基づいて読み取り方法を微調整し、鮮明な画像ではより高速な処理を選択したり、難しい画像ではより集中的な方法を採用して精度を向上したりすることができます。 この適応性により、開発者はスキャン プロセスを最適化し、特定の運用上の要求に効率的に対応できるようになります。
読書速度オプションを選択するための4ステップガイド
varoptions= newBarcodeReaderOptions();options.Speed=ReadingSpeed.Balanced;varresults=BarcodeReader.Read("barcode.png",options);Console.WriteLine($"Found {results.Values()[0]}");
The first step to choosing the reading speed option is to instantiate a new BarcodeReaderOptions and modify the settings used to read barcodes. We modify the Speed property to ReadingSpeed.Balanced. The Balanced property offers a balance between performance and accuracy and is generally the option that developers should use for any standard tasks.
Afterward, we call the Read method and pass along the input image as well as the BarcodereaderOptions variable, then finally we read and print the barcode result by accessing the Values array and retrieving the first barcode found.
バーコードに適切な読み取り速度を選択するのは難しい場合がありますが、IronBarcode では、その決定を支援するいくつかのオプションとカスタマイズを提供しています。





