torch torchvision opencv-python numpy Pillow fastapi uvicorn timm kornia