From: Jakim F. <jm...@fr...> - 2011-07-07 21:07:10
|
On 07/07/2011 04:48 PM, Doug Blank wrote: > On Thu, Jul 7, 2011 at 4:20 PM, Jakim Friant <jm...@fr...> > wrote: >> On 07/07/2011 03:35 PM, Alain Aupeix wrote: >> [...snip...] >>> sudo apt-get install python-opencv >>> >>> Is there other things to do ? >>> >> >> 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 >> >> Once I upgraded Ubuntu to 11.04 the deb package had changed and now >> cv is the default level python package and "import cv" will work. > > Thanks! That is useful. I can change the code to reflect this > difference and test for it. The detection part worked fine after you > made that change (eg, you see red boxes on faces after clicking > "Detect new faces")? > I was able to load the plugin, but then it hit the bug at the draw_rectangles call. By the time you had fixed it, I had upgraded to Ubuntu 11.04. So I never got it fully working on 10.04, but I suspect it would have. -- Jakim <http://friant.org> |