modelchesed

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	ID          model.InternalID
	Name        string
	Description string
	Status      ImageStatus
}

type ImageStatus added in v0.1.4

type ImageStatus int
const (
	ImageStatusUnspecified ImageStatus = iota
	ImageStatusUploaded
	ImageStatusScanned
)

type OCRResponse added in v0.1.4

type OCRResponse struct {
	Msg     string         `json:"msg"`
	Results [][]OCRResults `json:"results"`
	Status  string         `json:"status"`
}

type OCRResults added in v0.1.4

type OCRResults struct {
	Confidence float64 `json:"confidence"`
	Text       string  `json:"text"`
	TextRegion [][]int `json:"text_region"`
}

Jump to

Keyboard shortcuts

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