agentleFS
aspose-barcodeaspose-barcode/agentic-net-examples/barcode-recognition-performance/agents.md

agentic-net-examples / barcode-recognition-performance

AGENTS.md4 starsChanged 3 months agoMITView on GitHub

C# examples for Barcode Recognition Performance using Aspose.BarCode for .NET

The file

Files
agents.md

AGENTS - Barcode Recognition Performance

Persona

You are a C# developer specializing in barcode generation and recognition using Aspose.BarCode for .NET, working within the Barcode Recognition Performance category. This folder contains standalone C# examples for Barcode Recognition Performance operations. See the root agents.md for repository-wide conventions and boundaries.

Required Namespaces

  • using System;
  • using System.IO;
  • using System.Diagnostics;
  • using Aspose.BarCode.BarCodeRecognition;
  • using Aspose.BarCode.Generation;
  • using Aspose.Drawing;

Files in this folder

FileKey APIsDescription
activate-qualitysettingsuseminimalxdimension-and-set-minimalxdimension-to-1-pixel-to-filter-sub-pixel-noise.csQualitySettings, XDimensionModeActivate QualitySettings.UseMinimalXDimension and set MinimalXDimension to 1 pixel to filt...
adjust-color-scheme-to-invert-colors-and-assess-recognition-performance-on-negative-image-barcodes.csAdjust color scheme to invert colors and assess recognition performance on negative‑image ...
adjust-qualitysettingsxdimension-to-3-pixels-to-match-typical-1d-barcode-element-widths.csQualitySettingsAdjust QualitySettings.XDimension to 3 pixels to match typical 1D barcode element widths.
apply-custom-color-scheme-to-enhance-detection-of-dark-barcodes-on-light-backgrounds.csBarCodeReaderApply a custom color scheme to enhance detection of dark barcodes on light backgrounds.
batch-process-directory-of-mixed-format-images-and-generate-csv-report-of-recognition-times.csBarcodeGeneratorBatch process a directory of mixed‑format images and generate a CSV report of recognition ...
benchmark-effect-of-changing-minimalxdimension-from-0-to-2-pixels-on-false-positive-rates.csBenchmark the effect of changing MinimalXDimension from 0 to 2 pixels on false positive ra...
benchmark-reading-speed-of-100-gif-barcode-images-under-highperformance-and-highquality-presets.csBarCodeReaderBenchmark reading speed of 100 GIF barcode images under HighPerformance and HighQuality pr...
benchmark-recognition-of-stacked-linear-barcodes-versus-single-barcodes-to-evaluate-algorithm-scalability.csBenchmark recognition of stacked linear barcodes versus single barcodes to evaluate algori...
benchmark-time-saved-by-disabling-allowincorrectbarcodes-in-high-throughput-scanning-scenario.csBenchmark the time saved by disabling AllowIncorrectBarcodes in a high‑throughput scanning...
compare-barcode-detection-accuracy-between-grayscale-and-full-color-input-images-across-multiple-symbologies.csDecodeTypeCompare barcode detection accuracy between grayscale and full‑color input images across mu...
compare-cpu-usage-between-highperformance-and-maxquality-presets-using-stopwatch-timing-measurements.csCompare CPU usage between HighPerformance and MaxQuality presets using Stopwatch timing me...
compare-detection-accuracy-of-datamatrix-codes-when-xdimension-is-set-to-1-versus-3-pixels.csDataMatrixParametersCompare detection accuracy of DataMatrix codes when XDimension is set to 1 versus 3 pixels...
compare-detection-rates-of-small-barcodes-using-xdimension-mode-versus-default-detection.csXDimensionMode, BarCodeReaderCompare detection rates of small barcodes using XDimension mode versus default detection.
compare-number-of-detected-barcodes-when-useminimalxdimension-is-toggled-on-versus-off-for-noisy-images.csXDimensionMode, BarCodeReaderCompare the number of detected barcodes when UseMinimalXDimension is toggled on versus off...
compare-recognition-speed-of-1d-barcodes-versus-2d-barcodes-under-identical-qualitysettings.csQualitySettingsCompare recognition speed of 1D barcodes versus 2D barcodes under identical QualitySetting...
configure-deconvolution-parameters-to-improve-recognition-of-blurred-qr-codes-in-jpeg-files.csQrParameters, DeconvolutionModeConfigure deconvolution parameters to improve recognition of blurred QR codes in JPEG file...
configure-library-to-prioritize-code39-symbology-and-measure-any-change-in-overall-processing-speed.csDecodeTypeConfigure the library to prioritize Code39 symbology and measure any change in overall pro...
configure-qualitysettingsxdimension-to-1-pixel-for-recognizing-ultra-fine-one-pixel-wide-barcodes-accurately.csQualitySettings, BarCodeReaderConfigure QualitySettings.XDimension to 1 pixel for recognizing ultra‑fine one‑pixel wide ...
configure-recognition-to-ignore-quiet-zones-and-observe-effect-on-speed-for-large-code128-barcodes.csConfigure recognition to ignore quiet zones and observe effect on speed for large Code128 ...
create-barcodereader-instance-that-reads-jpeg-images-and-applies-highquality-preset-for-balanced-speed.csBarCodeReaderCreate a BarCodeReader instance that reads JPEG images and applies HighQuality preset for ...
create-diagnostic-mode-that-logs-each-barcode-element-size-when-useminimalxdimension-is-active.csXDimensionModeCreate a diagnostic mode that logs each barcode element size when UseMinimalXDimension is ...
create-performance-benchmark-that-records-cpu-usage-during-barcode-scanning-of-animated-gif-frames.csCreate a performance benchmark that records CPU usage during barcode scanning of animated ...
create-script-that-processes-all-images-in-zip-archive-and-outputs-summary-json-file.csCreate a script that processes all images in a zip archive and outputs a summary JSON file...
create-unit-test-that-verifies-recognition-speed-remains-under-150-ms-for-1-mb-png-files.csUnitCreate a unit test that verifies recognition speed remains under 150 ms for 1‑MB PNG files...
create-unit-tests-ensuring-minimalxdimension-defaults-to-zero-when-useminimalxdimension-is-false.csXDimensionMode, UnitCreate unit tests ensuring MinimalXDimension defaults to zero when UseMinimalXDimension is...
deactivate-useminimalxdimension-after-processing-to-restore-default-element-size-handling.csXDimensionModeDeactivate UseMinimalXDimension after processing to restore default element size handling.
develop-diagnostic-mode-that-outputs-raw-pixel-matrix-used-for-barcode-detection-when-debugging.csDevelop a diagnostic mode that outputs the raw pixel matrix used for barcode detection whe...
enable-hardware-acceleration-if-available-and-compare-recognition-throughput-against-software-only-mode.csEnable hardware acceleration if available and compare recognition throughput against softw...
enable-multi-threaded-recognition-and-compare-throughput-against-single-threaded-execution-on-set-of-images.csEnable multi‑threaded recognition and compare throughput against single‑threaded execution...
enable-qualitysettingsallowincorrectbarcodes-to-capture-potentially-unreadable-barcodes-during-debugging-sessions.csQualitySettings, BarCodeReaderEnable QualitySettings.AllowIncorrectBarcodes to capture potentially unreadable barcodes d...
evaluate-effect-of-disabling-deconvolution-on-recognition-accuracy-for-low-contrast-barcodes.csDeconvolutionModeEvaluate the effect of disabling deconvolution on recognition accuracy for low‑contrast ba...
evaluate-qr-code-detection-speed-when-useminimalxdimension-is-disabled-versus-enabled.csQrParameters, XDimensionModeEvaluate QR code detection speed when UseMinimalXDimension is disabled versus enabled.
evaluate-recognition-success-rate-for-rotated-datamatrix-codes-at-0-45-and-90-angles.csDataMatrixParametersEvaluate recognition success rate for rotated DataMatrix codes at 0°, 45°, and 90° angles.
generate-heat-map-visualizing-areas-where-barcode-elements-were-detected-using-xdimension-mode.csXDimensionMode, BarcodeGeneratorGenerate a heat map visualizing areas where barcode elements were detected using XDimensio...
generate-performance-graphs-comparing-recognition-time-versus-xdimension-values-for-sample-dataset.csBarcodeGeneratorGenerate performance graphs comparing recognition time versus XDimension values for a samp...
generate-summary-report-showing-average-confidence-per-preset-across-test-image-set.csBarcodeGeneratorGenerate a summary report showing average confidence per preset across a test image set.
implement-asynchronous-barcode-scanning-and-measure-latency-reduction-compared-to-synchronous-calls.csImplement asynchronous barcode scanning and measure latency reduction compared to synchron...
implement-feature-that-logs-exact-xdimension-and-minimalxdimension-values-used-for-each-image.csImplement a feature that logs the exact XDimension and MinimalXDimension values used for e...
implement-method-that-resets-all-qualitysettings-to-defaults-before-processing-new-image-batch.csQualitySettingsImplement a method that resets all QualitySettings to defaults before processing a new ima...
implement-region-of-interest-scanning-to-limit-analysis-to-central-rectangle-and-measure-time-savings.csImplement region‑of‑interest scanning to limit analysis to a central rectangle and measure...
load-bmp-images-with-embedded-metadata-and-verify-that-metadata-does-not-affect-recognition-speed.csLoad BMP images with embedded metadata and verify that metadata does not affect recognitio...
load-high-resolution-png-image-and-measure-barcode-recognition-time-using-default-settings.csLoad a high‑resolution PNG image and measure barcode recognition time using default settin...
log-detailed-timing-for-each-processing-stage-loading-preprocessing-detection-and-decoding-to-identify-bottlenecks.csLog detailed timing for each processing stage—loading, preprocessing, detection, and decod...
log-recognition-duration-for-each-image-when-varying-qualitysettings-presets-to-evaluate-performance-impact.csQualitySettingsLog recognition duration for each image when varying QualitySettings presets to evaluate p...
measure-cpu-core-utilization-while-scanning-large-batch-of-10-000-barcode-images-in-parallel.csMeasure CPU core utilization while scanning a large batch of 10,000 barcode images in para...
measure-impact-of-increasing-image-resolution-from-72-dpi-to-300-dpi-on-detection-latency.csMeasure the impact of increasing image resolution from 72 DPI to 300 DPI on detection late...
measure-memory-consumption-while-recognizing-barcodes-in-large-multi-page-pdf-document.csBarCodeReaderMeasure memory consumption while recognizing barcodes in a large multi‑page PDF document.
preprocess-input-images-with-gaussian-blur-removal-before-barcode-detection-to-assess-performance-impact.csPreprocess input images with Gaussian blur removal before barcode detection to assess perf...
process-batch-of-tiff-images-with-varying-contrast-levels-and-record-average-recognition-accuracy.csProcess a batch of TIFF images with varying contrast levels and record average recognition...
process-directory-of-bmp-files-using-normalquality-preset-and-record-total-processing-time.csProcess a directory of BMP files using NormalQuality preset and record total processing ti...
profile-effect-of-enabling-useminimalxdimension-on-multi-core-cpu-utilization-during-batch-processing.csXDimensionModeProfile the effect of enabling UseMinimalXDimension on multi‑core CPU utilization during b...
profile-impact-of-allowincorrectbarcodes-on-overall-cpu-load-during-continuous-scanning.csProfile the impact of AllowIncorrectBarcodes on overall CPU load during continuous scannin...
profile-impact-of-increasing-minimalxdimension-on-overall-batch-processing-throughput-in-tests.csProfile the impact of increasing MinimalXDimension on overall batch processing throughput ...
profile-impact-of-large-image-dimensions-eg-4000x4000-on-recognition-time-with-highperformance-preset.csProfile the impact of large image dimensions (e.g., 4000x4000) on recognition time with Hi...
record-number-of-barcodes-detected-per-image-under-each-preset-to-analyze-consistency.csRecord the number of barcodes detected per image under each preset to analyze consistency.
record-number-of-false-positives-encountered-when-minimalxdimension-is-set-too-low.csRecord the number of false positives encountered when MinimalXDimension is set too low.
record-percentage-of-barcodes-successfully-decoded-under-each-preset-across-mixed-type-dataset.csRecord the percentage of barcodes successfully decoded under each preset across a mixed‑ty...
retrieve-barcoderesultconfidence-after-allowing-incorrect-barcodes-to-assess-detection-reliability.csBarCodeResultRetrieve BarCodeResult.Confidence after allowing incorrect barcodes to assess detection re...
run-recognition-on-low-light-jpeg-images-after-applying-histogram-equalization-and-record-improvement.csRun recognition on low‑light JPEG images after applying histogram equalization and record ...
run-recognition-on-video-stream-extracting-one-frame-per-second-and-record-average-processing-time.csRun recognition on a video stream extracting one frame per second and record average proce...
set-qualitysettingspreset-to-highperformance-before-reading-batch-of-png-barcode-images.csQualitySettings, BarCodeReaderSet QualitySettings.Preset to HighPerformance before reading a batch of PNG barcode images...
set-qualitysettingsxdimension-to-6-pixels-for-detecting-large-barcodes-in-high-resolution-scans.csQualitySettings, BarCodeReaderSet QualitySettings.XDimension to 6 pixels for detecting large barcodes in high‑resolution...
set-recognition-timeout-of-200-milliseconds-and-log-any-barcodes-that-exceed-limit.csSet a recognition timeout of 200 milliseconds and log any barcodes that exceed the limit.
switch-qualitysettingspreset-to-maxquality-to-prioritize-accuracy-when-scanning-high-resolution-tiff-files.csQualitySettingsSwitch QualitySettings.Preset to MaxQuality to prioritize accuracy when scanning high‑reso...
test-barcode-detection-on-images-with-added-gaussian-noise-while-using-minimalxdimension-filtering.csTest barcode detection on images with added Gaussian noise while using MinimalXDimension f...
test-deconvolution-on-heavily-compressed-jpeg-images-to-determine-optimal-quality-threshold-for-reliable-scanning.csDeconvolutionModeTest deconvolution on heavily compressed JPEG images to determine optimal quality threshol...
test-effect-of-setting-minimalxdimension-to-05-pixels-on-detection-of-sub-pixel-barcode-elements.csBarCodeReaderTest the effect of setting MinimalXDimension to 0.5 pixels on detection of sub‑pixel barco...
test-recognition-of-code128-barcodes-with-xdimension-set-to-2-pixels-across-multiple-image-resolutions.csTest recognition of Code128 barcodes with XDimension set to 2 pixels across multiple image...
test-recognition-of-very-large-barcodes-10-pixels-xdimension-using-large-mode-configuration.csXDimensionModeTest recognition of very large barcodes (>10 pixels XDimension) using Large mode configura...
test-recognition-on-images-with-added-gaussian-noise-at-varying-signal-to-noise-ratios-and-log-success-rates.csTest recognition on images with added Gaussian noise at varying signal‑to‑noise ratios and...
use-stopwatch-to-measure-time-spent-in-barcode-detection-versus-image-loading.csUse a Stopwatch to measure time spent in barcode detection versus image loading.
validate-that-enabling-allowincorrectbarcodes-does-not-alter-decoded-codetext-of-valid-barcodes.csValidate that enabling AllowIncorrectBarcodes does not alter the decoded CodeText of valid...
validate-that-resetting-qualitysettings-to-defaults-restores-original-cpu-consumption-patterns-during-processing.csQualitySettingsValidate that resetting QualitySettings to defaults restores original CPU consumption patt...
validate-that-setting-allowincorrectbarcodes-to-true-does-not-affect-confidence-of-correctly-decoded-barcodes.csValidate that setting AllowIncorrectBarcodes to true does not affect confidence of correct...
validate-that-setting-both-useminimalxdimension-and-allowincorrectbarcodes-together-does-not-cause-conflicts.csXDimensionModeValidate that setting both UseMinimalXDimension and AllowIncorrectBarcodes together does n...
validate-that-setting-minimalxdimension-higher-than-xdimension-filters-out-valid-barcodes-unintentionally.csValidate that setting MinimalXDimension higher than XDimension filters out valid barcodes ...
verify-that-switching-presets-mid-batch-does-not-corrupt-previously-obtained-results.csVerify that switching presets mid‑batch does not corrupt previously obtained results.
write-documentation-examples-demonstrating-how-to-switch-between-highperformance-and-highquality-presets.csWrite documentation examples demonstrating how to switch between HighPerformance and HighQ...
write-integration-tests-confirming-barcode-recognition-succeeds-after-toggling-useminimalxdimension-correctly.csXDimensionModeWrite integration tests confirming barcode recognition succeeds after toggling UseMinimalX...
write-unit-tests-verifying-that-allowincorrectbarcodes-returns-barcoderesultconfidence-as-null.csUnit, BarCodeResultWrite unit tests verifying that AllowIncorrectBarcodes returns BarCodeResult.Confidence as...
write-wrapper-that-logs-both-recognition-time-and-cpu-usage-for-each-processed-image.csWrite a wrapper that logs both recognition time and CPU usage for each processed image.

Category Statistics

  • Total examples: 81
  • Failed: 0
  • Pass rate: 100.0%

Key API Surface

  • BarCodeReader
  • QualitySettings
  • XDimensionMode
  • DeconvolutionMode
  • RecognitionMode

Failed Tasks

All tasks passed ✅

<!-- AUTOGENERATED:START -->

Updated: 2026-08-13 | Examples: 81

<!-- AUTOGENERATED:END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.