processor

package
v0.0.0-...-2bcc667 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GPSTagNames = map[int]string{
	0x0000: "GPSVersionID",
	0x0001: "GPSLatitudeRef",
	0x0002: "GPSLatitude",
	0x0003: "GPSLongitudeRef",
	0x0004: "GPSLongitude",
	0x0005: "GPSAltitudeRef",
	0x0006: "GPSAltitude",
	0x0007: "GPSTimeStamp",
	0x0008: "GPSSatellites",
	0x0009: "GPSStatus",
	0x000a: "GPSMeasureMode",
	0x000b: "GPSDOP",
	0x000c: "GPSSpeedRef",
	0x000d: "GPSSpeed",
	0x000e: "GPSTrackRef",
	0x000f: "GPSTrack",
	0x0010: "GPSImgDirectionRef",
	0x0011: "GPSImgDirection",
	0x0012: "GPSMapDatum",
	0x0013: "GPSDestLatitudeRef",
	0x0014: "GPSDestLatitude",
	0x0015: "GPSDestLongitudeRef",
	0x0016: "GPSDestLongitude",
	0x0017: "GPSDestBearingRef",
	0x0018: "GPSDestBearing",
	0x0019: "GPSDestDistanceRef",
	0x001a: "GPSDestDistance",
	0x001b: "GPSProcessingMethod",
	0x001c: "GPSAreaInformation",
	0x001d: "GPSDateStamp",
	0x001e: "GPSDifferential",
	0x001f: "GPSHPositioningError",
}
View Source
var QRDataInfoList = []QRDataInfo{
	{},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
}

Functions

func DeviceProcessor

func DeviceProcessor(imgCore *img.Core)

DeviceProcessor device

func ExifProcessor

func ExifProcessor(imgCore *img.Core)

ExifProcessor get image type

func HUEProcessor

func HUEProcessor(imgCore *img.Core)

HUEProcessor processor

func PositionProcessor

func PositionProcessor(imgCore *img.Core)

PositionProcessor device

func QRCodeProcessor

func QRCodeProcessor(imgCore *img.Core)

QRCode device

func RGBAProcessor

func RGBAProcessor(imgCore *img.Core)

RGBAProcessor bin size processor

func SizeProcessor

func SizeProcessor(imgCore *img.Core)

SizeProcessor bin size processor

func TimeProcessor

func TimeProcessor(imgCore *img.Core)

TimeProcessor time

func TypeProcessor

func TypeProcessor(imgCore *img.Core)

TypeProcessor get image type

func WHProcessor

func WHProcessor(imgCore *img.Core)

WHProcessor get image width and height

Types

type QRCode

type QRCode struct {
	Width  int
	Height int
	Pixels []img.RGBA
	// contains filtered or unexported fields
}

func (*QRCode) GetResult

func (qr *QRCode) GetResult() img.Value

func (*QRCode) Run

func (qr *QRCode) Run()

type QRCodeCorner

type QRCodeCorner struct {
	// contains filtered or unexported fields
}

type QRCodeItem

type QRCodeItem struct {
	Pixels []int
	// contains filtered or unexported fields
}

type QRCodeRegion

type QRCodeRegion struct {
	// contains filtered or unexported fields
}

type QRDataECC

type QRDataECC struct {
	// contains filtered or unexported fields
}

refs: https://www.thonky.com/qr-code-tutorial/error-correction-table

type QRDataInfo

type QRDataInfo struct {
	// contains filtered or unexported fields
}

type QRScoreArea

type QRScoreArea struct {
	FromX   int
	FromY   int
	TargetX int
	TargetY int
	Color   bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL