Como converter um objeto de imagem de varinha para abrir uma imagem cv (matriz numpy)
Importei a varinha usando o seguinte código
from wand.image import Image as WandImage
from wand.color import Color
with WandImage(filename=source_file, resolution=(RESOLUTION,RESOLUTION)) as img:
img.background_color = Color('white')
img.format = 'tif'
img.alpha_channel = False
Como posso converterimg objeto para abrir o objeto de imagem cv (cv2) em python?