![]() |
|
|
|
#1
|
|||
|
|||
|
Like the poster above, I would also be interested in your OpenCV dll's. I am still trying to get OpenCV 2.0 to work in Vizard, but in the meantime if you have something that works from previous version I am definitely interested.
|
|
#2
|
|||
|
|||
|
OK, I zipped the files I could find and put them at
https://netfiles.uiuc.edu/jimc/shared/pyOpenCV_py24.zip I may have modified/broken a few of the samples... |
|
#3
|
|||
|
|||
Thank you very much, I am busy today so will look at this tomorrow
|
|
#4
|
|||
|
|||
|
Thank you very much. I put the files in the directories you specified, though I put them in the appropriate place in the Vizard31 folder instead of Vizard30. I am trying to get the squares.py sample to work in Vizard and I get this error:
Traceback (most recent call last): File "<string>", line 11, in ? File "squares.py", line 8, in ? from opencv.cv import * File "C:\Program Files\WorldViz\Vizard31\bin\lib\site-packages\opencv\__init__.py", line 55, in ? from cv import * File "C:\Program Files\WorldViz\Vizard31\bin\lib\site-packages\opencv\cv.py", line 5, in ? import _cv ImportError: DLL load failed: The specified module could not be found. Do I have to do anything special to register the DLL's or am I missing one? Has anyone encountered this error message before? Last edited by sircedric4; 03-02-2010 at 08:28 AM. |
|
#5
|
|||
|
|||
|
Is there an _cv.pyd in site-packages/opencv? What is the value of sys.path?
|
|
#6
|
|||
|
|||
|
There is a _cv.pyd in the site-packages\opencv path. I do not know what you mean by the value of sys.path.
If you are referring to the PATH environment variable in my Windows XP operating system. That value is: Code:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\IFOR\WIN\BIN;C:\IFOR\WIN\BIN\EN_US;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Windows Imaging\;%OSG_BIN_PATH%;%OSG_SAMPLES_PATH%;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\IDS\uEye\GenICam\bin\win32_i86; C:\Program Files\OpenCv\bin;C:\Program Files\CMake 2.8\bin; C:\OpenCV2.0\VS2005\bin\debug; C:\OpenCV2.0\VS2005\bin\release; C:\OPenCv2.0\bin |
|
#7
|
|||
|
|||
|
In your script (or at the Vizard Python prompt) type:
import sys print sys.path That will tell you where it's looking for modules. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Native WorldViz support for character animation | luakt | Vizard | 10 | 09-16-2008 12:39 AM |
| Incampatible CAL3D files | luakt | Vizard | 4 | 09-15-2008 12:28 AM |
| WorldViz support of callada | luakt | Vizard | 2 | 09-14-2008 11:59 PM |