Opened 4 months ago

Last modified 4 months ago

#57640 assigned defect

opencv @3.4.3: +contrib not configured correctly

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

Description (last modified by ryandesign (Ryan 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 4 months 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 4 months ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:2 Changed 4 months ago by ryandesign (Ryan 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.