diff --git a/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/requirements.txt b/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/requirements.txt index e0cf5779..37794f8b 100644 --- a/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/requirements.txt +++ b/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/requirements.txt @@ -1,12 +1,9 @@ -# PaddleOCR Sidecar Requirements +# OCR Sidecar Requirements (Tesseract-based) # Change Log: -# - 2026-05-30: ลด paddlepaddle จาก 2.6.2 เป็น 2.5.2 เพื่อแก้ SIGILL (Illegal Instruction) บน CPU ที่ไม่รองรับ AVX -# - 2026-05-30: ลด paddleocr จาก 2.7.3 เป็น 2.6.1.3 เพื่อความเข้ากันได้กับ paddlepaddle 2.5.2 -# - 2026-05-30: เปลี่ยนเป็น paddlepaddle-cpu (CPU-only) เพื่อหลีกเลี่ยง AVX requirement บน CPU เก่า +# - 2026-05-30: เปลี่ยนจาก PaddleOCR เป็น Tesseract OCR เพื่อความเข้ากันได้กับ CPU เก่า (ไม่ต้องการ AVX) +# - 2026-05-30: ลบ paddlepaddle/paddleocr dependencies เนื่องจาก SIGILL บน CPU ที่ไม่รองรับ AVX numpy<2.0 -paddlepaddle-cpu==2.5.2 -paddleocr==2.6.1.3 PyMuPDF==1.24.0 pytesseract==0.3.13 fastapi==0.111.0 @@ -14,3 +11,4 @@ uvicorn[standard]==0.30.1 python-multipart==0.0.9 pythainlp==5.0.4 httpx==0.27.0 +Pillow==10.0.0