9d845c8899
- backend moved to backend directory - added and initialized frontend with vue - moved infrastructure files to infra directory
10 lines
198 B
Go
10 lines
198 B
Go
package ocr
|
|
|
|
import "context"
|
|
|
|
// OCR — контракт для любого OCR сервиса
|
|
type OCR interface {
|
|
Recognize(ctx context.Context, image []byte) (string, error)
|
|
Close() error
|
|
}
|