Documentation
¶
Index ¶
- func Annotate(ctx context.Context, path, output string, annotation Annotation) (int, error)
- func EditPages(ctx context.Context, output string, sources []PageSource, deletePages []int) (int, error)
- type Annotation
- type ExtractedImage
- type Page
- type PageSource
- type PageText
- type Report
- type SearchHit
- type SearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Annotation ¶
type ExtractedImage ¶
type ExtractedImage struct {
Path string `json:"path"`
Page int `json:"page"`
Bytes int64 `json:"size_bytes"`
}
func ExtractImages ¶
type PageSource ¶
type PageText ¶
type Report ¶
type Report struct {
FontEntriesInRange *int `json:"font_entries_in_range,omitempty"`
Status string `json:"status"`
Bytes int `json:"bytes"`
SHA256 string `json:"sha256"`
PageCount int `json:"page_count,omitempty"`
Properties map[string]string `json:"properties"`
Indicators map[string]int `json:"indicators"`
RawNameHints map[string]int `json:"raw_name_hints"`
Pages []Page `json:"pages,omitempty"`
Issues []string `json:"issues,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.