gradio torch opencv-python-headless pytesseract ultralytics pydantic==2.10.6 numpy Pillow