728x90
반응형

 

cv::imwrite("result.jpg", frame);

 

imwrite 시 확장자 지정 안할 시 나는 에러는 아래와 같다. 

OpenCV Error: Unspecified error (could not find a writer for the specified extension) in imwrite_, file ....../modules/imgcodecs/src/loadsave.cpp, line 677
terminate called after throwing an instance of 'cv::Exception'
  what():  ....../modules/imgcodecs/src/loadsave.cpp:677: error: (-2) could not find a writer for the specified extension in function imwrite_

 

728x90
반응형