Documentation
¶
Index ¶
- func CalculateScaling(ctx context.Context, img image.Image) (float64, error)
- func CanScrollDown(infoButtonLocation image.Point, inGrove bool, img image.Image) (bool, error)
- func Find(static image.Image, dynamic image.Image) (image.Point, float32, error)
- func FindInfoButton(img image.Image) (image.Point, error)
- func GetWhitelist() string
- func InitOCR() error
- func IsInGrove(img image.Image) (bool, error)
- func OCRListing(img image.Image) (string, error)
- func OCRListingCount(img image.Image) (string, error)
- func OCRListingLevel(img image.Image) (string, error)
- func PrepareForOCR(img image.Image, crop bool) image.Image
- func ReadImage(img image.Image, offset int, limit int) ([]types.ParsedListing, error)
- func Scale(img image.Image) image.Image
- func ScaleAndFind(ctx context.Context, static image.Image, dynamic image.Image, ...) (float64, float32, image.Point, error)
- func ScaleN(n int) int
- func ScaleNf(n float64) float64
- type RawListing
- type ScalingFunc
- type ScalingKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateScaling ¶
func CanScrollDown ¶
func GetWhitelist ¶ added in v0.0.22
func GetWhitelist() string
func ScaleAndFind ¶
Types ¶
type RawListing ¶
func ExtractToListings ¶
type ScalingFunc ¶ added in v0.0.28
type ScalingKey ¶ added in v0.0.28
type ScalingKey struct{}
Click to show internal directories.
Click to hide internal directories.