Ask Your Question

Revision history [back]

What is the default working directory while using opencv?

I'm using opencv by integrating with ANACONDA.Whenever I try to display an image,it throws the following error.

error Traceback (most recent call last) <ipython-input-3-6a5dc0fa20da> in <module>() ----> 1 cv2.imshow('stinkbug',img) 2 cv2.waitKey(0) 3 cv2.destroyAllWindows()

error: C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\highgui\src\window.cpp:281: error: (-215) size.width>0 && size.height>0 in function cv::imshow please help me regarding the problem.