Date: Mon, 30 Jun 2014 05:02:56 -0400 From: "Jason E. Hale" <jhale@FreeBSD.org> To: Rainer Hurling <rhurlin@gwdg.de> Cc: ports@freebsd.org, Zenny <garbytrash@gmail.com> Subject: Re: opencv2 import problem with python Message-ID: <CAJE75NGtkzesHXAUhdGx18Bv2YpmvtOfw7gLiABuV2R1BHHNEQ@mail.gmail.com> In-Reply-To: <53B102A3.9030909@gwdg.de> References: <CACuV5sCnYrScft%2BQT80Qfg_4su73q3z3xo37B2m5tGOs_aX5aw@mail.gmail.com> <20140629083408.GR1560@funkthat.com> <CACuV5sAVa_5Cpbj4f9QRUGy=gLGgQ2oCO9MsTo%2B6AiD0emevDQ@mail.gmail.com> <CAJE75NFi7LZz1rjjOjBoFd_LFmBTgBO%2BNvnbY0oSxcGeJWuQAw@mail.gmail.com> <53B102A3.9030909@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 30, 2014 at 2:24 AM, Rainer Hurling <rhurlin@gwdg.de> wrote: > Am 29.06.2014 19:50 (UTC+1) schrieb Jason E. Hale: > math/saga is a GIS application, which uses OpenCV in one of its modules. > For some month now, SAGA GIS disables this module at start time of the > program. > > I tried your patch for graphics/opencv, but nothing changed for me. It > seems, the opencv libs continue to be non usable. > The patch was for py-opencv only, so I'm not sure it would apply to saga. I'll take a look at it though. >> Note: you need to import numpy before cv2. > > Does this mean, we have to rebuild and reinstall math/py-numpy before > installing graphics/opencv? Do we have to also reinstall > graphics/opencv-core? This would only apply to py-opencv, so that is the only port that would have to be rebuilt. Sorry if that was unclear. I meant that numpy should be imported at the python prompt before the opencv module. $python >>> import numpy >>> import cv2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJE75NGtkzesHXAUhdGx18Bv2YpmvtOfw7gLiABuV2R1BHHNEQ>