huochaitiantang / pytorch-deep-image-matting

Pytorch implementation of deep image matting
294 stars 71 forks source link

composition.py #36

Open binghai228 opened 4 years ago

binghai228 commented 4 years ago

thaks for your great work. When I compose the image using your composition.py file(Opencv),I got a strange merged image like this image But when I use the composition code provided by original DIM(PIL),I got the exact merged image like this image I don't known what caused the error? It seems that opencv may have some bugs