Skip to content

Question about OneToFourBitPattern usage in Code93Reader #968

Open
@wooyechan

Description

@wooyechan

While reviewing the implementation of Code93Reader, I noticed that it uses a function called OneToFourBitPattern for pattern decoding. Interestingly, this approach seems to be specific to Code93 and isn't used in Code128Reader, which instead relies on NormalizedE2EPattern and DecodeDigit(PatternMatchVariance) for pattern matching.

This raises a few questions:

  1. Is there a particular reason why OneToFourBitPattern is preferred for Code93?

  2. Would it be feasible (or even beneficial) to unify the pattern matching logic by using NormalizedE2EPattern and DecodeDigit both in Code93 as well, similar to Code128?

Thanks in advance for any insight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy