Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"site-packages has cv2.pyd but this size 1.61MB. " - this means, you built dynamic libs for opencv, and now cv2.pyd is dependant on finding the opencv dlls at runtime. please adjust your PATH env. variable, so it points to the folder with the opencv dlls.

to avoid this problem, choose BUILD_SHARED_LIBS=OFF in cmake, and rebuild. this should result in a much larger (>10mb) cv2.pyd, which no more depends on opencv dlls