data

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewMinerRepo)

ProviderSet is data providers.

Functions

func NewMinerRepo

func NewMinerRepo(conf *conf.Miner_Data) biz.MinerRepo

NewMinerRepo .

Types

type OCRResponse

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

type OCRResults

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