lens

package
v0.0.0-...-443ee88 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cookies string

Functions

func Consent() error

func GetCookies

func GetCookies() error

Types

type LensResult

type LensResult struct {
	Location   string
	Vsrid      string
	Gsessionid string
}

func Upload

func Upload(img image.Image) (LensResult, error)

func (LensResult) Process

func (l LensResult) Process(source, target string) (*TranslatedImage, error)

type TranslatedImage

type TranslatedImage struct {
	OriginalTextFull string `json:"originalTextFull"`
	ImageURL         string `json:"imageURL"`
}

func (TranslatedImage) DecodeImage

func (t TranslatedImage) DecodeImage() ([]byte, string, error)

Jump to

Keyboard shortcuts

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