feat(라이브): 결과 이미지에서 매출을 읽어 판매금액 칸에 채움

- 방송 창에서 이미지를 고르면 POST /live/broadcasts/read-sales 가 서버 Tesseract 로
  이미지 위 절반의 첫 RM 금액(틱톡 LIVE 결과 화면 Attr. GMV)을 읽어 돌려줌(저장 안 함)
- RM1.2K 같은 줄인 값·못 찾음은 칸을 두고 안내, 사람이 확인 후 저장
- Dockerfile: tesseract-ocr·tesseract-ocr-eng 설치

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 11:09:03 +09:00
parent 7e0f7f7642
commit 9c94f70e54
12 changed files with 197 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
{#- 라이브 커머스 스케줄표(2026-11-04) — 달마다 방송 목록. 추가·고치기 창은 달력과 공용(_dialog.html, live.js). 문구 = t()(i18n.py). -#}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261106c" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261106d" />{% endblock %}
{% block content %}
<section class="lv" lang="{{ lang }}">