Documentation ¶
Index ¶
- type Omnipage
- func (n *Omnipage) CountPages(imgFile string) (nPage int, err error)
- func (n *Omnipage) Free()
- func (n *Omnipage) Init(company string, product string) (err error)
- func (n *Omnipage) LoadFormTemplateLibrary(templateFile string) (err error)
- func (n *Omnipage) OCRImgPageToText(imgFile string, nPage int) (txt string, err error)
- func (n *Omnipage) OCRImgToFile(imgFile string, outputFile string, nPage int, auxDocumentFile string) (err error)
- func (n *Omnipage) OCRImgToText(imgFile string) (txt string, err error)
- func (n *Omnipage) OCRImgToTextFile(imgFile string, outputFile string, nPage int, auxDocumentFile string) (err error)
- func (n *Omnipage) OCRImgWithTemplate(imgFile string) (ret map[string]string, err error)
- func (n *Omnipage) Quit()
- func (n *Omnipage) SetCodePage(codePage string) (err error)
- func (n *Omnipage) SetLanguagePtBr() (err error)
- func (n *Omnipage) SetLicense(licenseFile string, oemCode string) (err error)
- func (n *Omnipage) SetOutputFormat(outputFormat string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Omnipage ¶
type Omnipage struct {
// contains filtered or unexported fields
}
func (*Omnipage) LoadFormTemplateLibrary ¶
func (*Omnipage) OCRImgPageToText ¶
func (*Omnipage) OCRImgToFile ¶
func (*Omnipage) OCRImgToText ¶
func (*Omnipage) OCRImgToTextFile ¶
func (*Omnipage) OCRImgWithTemplate ¶
func (*Omnipage) Quit ¶
func (n *Omnipage) Quit()
Quit omnipage. At this point of development it is also necessary to use the Free() function to release the resources.
func (*Omnipage) SetCodePage ¶
func (*Omnipage) SetLanguagePtBr ¶
func (*Omnipage) SetLicense ¶
SetLicense uses license file and OEM code to activate omnipage library. It should be called immediately after instantiating a new session with the New () function.
func (*Omnipage) SetOutputFormat ¶
Click to show internal directories.
Click to hide internal directories.