Closed seiya-git closed 1 year ago
Some images with preserving alpha cannot be resized if zoom factor is double
command:
Anime4KCPP_CLI --CNNMode --HDN --HDNLevel 1 --zoomFactor 1.75 --alpha --GPUMode --GPGPUModel cuda -i "test.png"
error: OpenCV(4.5.0) C:\build\master_winpack-build-win64-vc15\opencv\modules\core\src\merge.dispatch.cpp:129: error: (-215:Assertion failed) mv[i].size == mv[0].size && mv[i].depth() == depth in function 'cv::merge'
OpenCV(4.5.0) C:\build\master_winpack-build-win64-vc15\opencv\modules\core\src\merge.dispatch.cpp:129: error: (-215:Assertion failed) mv[i].size == mv[0].size && mv[i].depth() == depth in function 'cv::merge'
Test image: test.png
Resolved in master branch
Some images with preserving alpha cannot be resized if zoom factor is double
command:
error:
OpenCV(4.5.0) C:\build\master_winpack-build-win64-vc15\opencv\modules\core\src\merge.dispatch.cpp:129: error: (-215:Assertion failed) mv[i].size == mv[0].size && mv[i].depth() == depth in function 'cv::merge'
Test image: test.png