start rmser

This commit is contained in:
2025-11-29 08:40:24 +03:00
commit 5aa2238eea
2117 changed files with 375169 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package ocr_client
// RecognitionResult - ответ от Python сервиса
type RecognitionResult struct {
Items []RecognizedItem `json:"items"`
}
type RecognizedItem struct {
RawName string `json:"raw_name"` // Текст названия из чека
Amount float64 `json:"amount"` // Кол-во
Price float64 `json:"price"` // Цена
Sum float64 `json:"sum"` // Сумма
}