Discussion:
[MacPorts] #57640: Opencv 3.4.3 +contrib not configured correctly
MacPorts
2018-11-19 06:19:37 UTC
Permalink
#57640: Opencv 3.4.3 +contrib not configured correctly
-----------------------------+----------------------------
Reporter: jtressle | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 2.6.0
Component: ports | Version: 2.5.4
Keywords: opencv, contrib | Port: opencv
-----------------------------+----------------------------
I'm able to compile Opencv 3.4.3 correctly with +contrib. However, the
+contrib portion doesn't work.

Both SIFT and SURF work in 3.4.1. However, they do not work in 3.4.3.
You can test by running the following code:

cv::Ptr<cv::xfeatures2d::SIFT> sift = cv::xfeatures2d::SIFT::create();

The last working version of Opencv is in commit 01d8762.

Thanks
--
Ticket URL: <https://trac.macports.org/ticket/57640>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-22 19:27:35 UTC
Permalink
#57640: Opencv 3.4.3 +contrib not configured correctly
-----------------------+-----------------------------
Reporter: jtressle | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 2.6.0
Component: ports | Version: 2.5.4
Resolution: | Keywords: opencv, contrib
Port: opencv |
-----------------------+-----------------------------

Comment (by jtressle):

Looks like CMAKE for +contrib version needs to be configured with:

-DOPENCV_ENABLE_NONFREE:BOOL=ON

This flag wasn't enforced on 3.4.1.
--
Ticket URL: <https://trac.macports.org/ticket/57640#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-01 01:02:10 UTC
Permalink
#57640: opencv @3.4.3: +contrib not configured correctly
-----------------------+----------------------
Reporter: jtressle | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: opencv |
-----------------------+----------------------
Changes (by ryandesign):

* status: new => assigned
* owner: (none) => stromnov
* milestone: MacPorts 2.6.0 =>
* keywords: opencv, contrib =>
Post by MacPorts
I'm able to compile Opencv 3.4.3 correctly with +contrib. However, the
+contrib portion doesn't work.
Both SIFT and SURF work in 3.4.1. However, they do not work in 3.4.3.
cv::Ptr<cv::xfeatures2d::SIFT> sift = cv::xfeatures2d::SIFT::create();
The last working version of Opencv is in commit 01d8762.
Thanks
New description:

I'm able to compile Opencv 3.4.3 correctly with +contrib. However, the
+contrib portion doesn't work.

Both SIFT and SURF work in 3.4.1. However, they do not work in 3.4.3.
You can test by running the following code:

{{{
cv::Ptr<cv::xfeatures2d::SIFT> sift = cv::xfeatures2d::SIFT::create();
}}}

The last working version of Opencv is in commit [changeset:01d8762
/macports-ports].

Thanks

--
--
Ticket URL: <https://trac.macports.org/ticket/57640#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...