Init commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package ocr
|
||||
|
||||
import "context"
|
||||
|
||||
// OCR — контракт для любого OCR сервиса
|
||||
type OCR interface {
|
||||
Recognize(ctx context.Context, image []byte) (string, error)
|
||||
Close() error
|
||||
}
|
||||
Reference in New Issue
Block a user