Import cv2 error
i'm getting this error when i type import cv2 on the python idle. Don't know what to do. Please help
Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> import cv2 ImportError: DLL load failed: %1 is not a valid Win32 application.
there are two cv2.pyd in the opencv/build/python/2.7 folder.One is x64 and the other is x86. Which one to copy? But both are showing errors
You need the x86 since the error clearly stated that it needs a 32 bit application. Did you built the source yourself?