Opened 5 years ago

Last modified 3 years ago

#57640 closed defect

opencv @3.4.3: +contrib not configured correctly — at Version 2

Reported by: jtressle Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: opencv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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/macports-ports.

Thanks

Change History (2)

comment:1 Changed 5 years ago 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.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: opencv contrib removed
Milestone: MacPorts 2.6.0
Owner: set to stromnov
Status: newassigned
Summary: Opencv 3.4.3 +contrib not configured correctlyopencv @3.4.3: +contrib not configured correctly
Note: See TracTickets for help on using tickets.