cv2.error: OpenCV(4.5.4) /tmp/pip-req-build-9vck9bv0/opencv/modules/imgcodecs/src/loadsave.cpp:799: error: (-215:Assertion failed) !_img.empty() in function 'imwrite
원인 / 해결방법
[Python] OpenCV error: (-215:Assertion failed) !_src.empty() in imwrite 해결방법
OpenCV를 활용하여 이미지를 열고 특정 위치에 원과 사각형을 그린 후에 다시 저장하는 코드를 작성하였는데 error: (-215:Assertion failed) !_src.empty() 뭔가 cv2.imwrite를 통하여 저장하려고 하면 위와 같은
somjang.tistory.com
'Programming > errors' 카테고리의 다른 글
[Error] grpcio-tools ~ protobuf ~ tensorboard, tb-nightly compatibility : 호환성 맞추기 (0) | 2023.03.15 |
---|---|
파이썬(python) OpenCV(4.5.4) :-1: error: (-5:Bad argument) in function 'rectangle' (0) | 2023.01.30 |
[CUDA error] CUDA initialization: Unexpected error from cudaGetDeviceCount() (0) | 2022.11.10 |
[CUDA error] out of memory 문제 해결 방법 (0) | 2022.11.10 |
[CUDA error] : CUBLAS_STATUS_ALLOC_FAILED (0) | 2022.11.10 |