Opened 8 years ago
Closed 6 years ago
#57640 closed defect (fixed)
opencv @3.4.3: +contrib not configured correctly
| Reported by: | jtressle | Owned by: | stromnov (Andrey Stromnov) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.5.4 |
| Keywords: | Cc: | ifernandolopez (Fernando López Hernández) | |
| 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 (6)
comment:1 Changed 8 years ago by jtressle
comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Keywords: | opencv contrib removed |
| Milestone: | MacPorts 2.6.0 |
| Owner: | set to stromnov |
| Status: | new → assigned |
| Summary: | Opencv 3.4.3 +contrib not configured correctly → opencv @3.4.3: +contrib not configured correctly |
comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | ifernandolopez added |
|---|
Has duplicate #61415.
comment:4 Changed 6 years ago by jmroot (Joshua Root)
According to the duplicate, this is because the algorithm is patent-encumbered. I don't know if we are even legally able to turn it on.
comment:5 Changed 6 years ago by mascguy (Christopher Nielsen)
Optional variant +nonfree will be added via the following pull request:
comment:6 Changed 6 years ago by Christopher Nielsen <mascguy@…>
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

Looks like CMAKE for +contrib version needs to be configured with:
This flag wasn't enforced on 3.4.1.