From: Alain A. <ala...@wa...> - 2011-07-09 08:36:53
|
Le 07/07/2011 22:20, Jakim Friant a écrit : > I was trying this out earlier this week. The python-opencv package in > Ubuntu 10.04 LTS did not work for me as-is. But I could get it to run > by changing the import line in the gramps plugin code to: > > from opencv import cv I want for now to keep Lucid, on this computer, and after making the correction, I have now access to the plugin, but it fails with an error message (I have tried with png or jpeg) 51491: ERROR: gramps.py: line 142: Unhandled exception Traceback (most recent call last): File "/home/alain/.gramps/gramps34/plugins/FaceDetection/FaceDetection.py", line 134, in detect self.cv_image = cv.LoadImage(self.full_path, cv.CV_LOAD_IMAGE_GRAYSCALE) AttributeError: 'module' object has no attribute 'LoadImage' A+ |