numpy opencv-python matplotlib Pillow segment_anything torchvision