Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EXPECTED_CORNER_BITS = []int{
0xee0,
0x1dc,
0x83b,
0x707,
}
)
Functions ¶
This section is empty.
Types ¶
type AztecDetectorResult ¶
type AztecDetectorResult struct { *common.DetectorResult // contains filtered or unexported fields }
AztecDetectorResult Extends {@link DetectorResult} with more information specific to the Aztec format, like the number of layers and whether it's compact.
func NewAztecDetectorResult ¶
func NewAztecDetectorResult(bits *gozxing.BitMatrix, points []gozxing.ResultPoint, compact bool, nbDatablocks, nbLayers int) *AztecDetectorResult
func (*AztecDetectorResult) GetNbDatablocks ¶
func (d *AztecDetectorResult) GetNbDatablocks() int
func (*AztecDetectorResult) GetNbLayers ¶
func (d *AztecDetectorResult) GetNbLayers() int
func (*AztecDetectorResult) IsCompact ¶
func (d *AztecDetectorResult) IsCompact() bool
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector : Encapsulates logic that can detect an Aztec Code in an image, even if the Aztec Code is rotated or skewed, or partially obscured.
func NewDetector ¶
func (*Detector) Detect ¶
func (this *Detector) Detect(isMirror bool) (*AztecDetectorResult, error)
Detect Detects an Aztec Code in an image.
@param isMirror if true, image is a mirror-image of original @return {@link AztecDetectorResult} encapsulating results of detecting an Aztec Code @throws NotFoundException if no Aztec Code can be found
func (*Detector) DetectNoMirror ¶
func (this *Detector) DetectNoMirror() (*AztecDetectorResult, error)
Click to show internal directories.
Click to hide internal directories.