ci: use 3-channel image for botty OCR test

This commit is contained in:
alexpolo1
2026-08-07 08:31:34 +02:00
parent 6bcfa1af35
commit 15524e1608

View File

@@ -164,8 +164,8 @@ jobs:
print(' pytesseract not available — skipping')
sys.exit(0)
# Create test image
img = np.full((50, 200), 255, dtype=np.uint8)
# Create test image (3-channel for invert)
img = np.full((50, 200, 3), 255, dtype=np.uint8)
cv2.putText(img, '123', (80, 35),
cv2.FONT_HERSHEY_SIMPLEX, 1.0, (0, 0, 0), 2)