Questions tagged [opencv-contrib]

OpenCV is an open source computer vision library, free for commercial and research use. opencv-contrib is a repository containing extra OpenCV modules and contributed functionality.

Documenation for opencv_contrib can be found at http://docs.opencv.org/3.1.0/d3/d81/tutorial_contrib_root.html

82 questions
1
vote
0 answers

How to add all extra modules of OpenCV-contrib to OpenCV library?

I have built OpenCV with extra modules based on these instractions by providing the path: C:/opencv/opencv-4.2.0/opencv_contrib-4.2.0/modules in OPENCV_EXTRA_MODULES_PATH in CMake GUI. However, when I want to use MultiTracker based on this page I…
Hadi GhahremanNezhad
  • 2,377
  • 5
  • 29
  • 58
1
vote
0 answers

PyCharm: Using SIFT with opencv-contrib (Mac)

I have a Python/OpenCV project and I am trying to use the xfeatures2d module from opencv-contrib. I am using a Mac and my IDE is PyCharm. I have installed the packages opencv-contrib-python and opencv-python through Preferences > Project…
ceno980
  • 2,003
  • 1
  • 19
  • 37
1
vote
0 answers

No cv2.pyd file after cmake build

I am hoping to use additonal algorithms in opencv-contrib in opencv. I am trying to build opencv with the Non Free Algorithms in contrib. I am new to using cmake. I was able to complete the configure/generate phases in cmake build, to build opencv…
P Ved
  • 109
  • 3
  • 13
1
vote
1 answer

EXEC_BAD_ACCESS w/ OpenCV `cv::aruco::detectMarkers()` on IOS

opencv: 4.1.0 (w/ 'contrib' extensions) swift: 5 IOS: 12.2 I am trying to run opencv's method cv::aruco::detectMarkers on every frame from an iphone camera. This works but after a minute or so it crashes with the error: Thread 8: EXC_BAD_ACCESS…
Chandler
  • 1,019
  • 14
  • 23
1
vote
1 answer

Maven depedency for opencv_contrib

I have searched and tried many dependencies, but noone of the tried could help me load the OpenCV Face module correctly. Is there one? Or I have to import it locally?
1
vote
0 answers

Instructions for adding Contrib Module to OpenCV 3 using CMake GUI

Im having problems building OpenCV with contrib module to enable SURF features using Visual Studio, CMake GUI, and OpenCV 3. I'm following the instructions on their website as best as I can, but they are not clear. clone OpenCV Sources to C:/OpenCV…
Mich
  • 3,188
  • 4
  • 37
  • 85
1
vote
0 answers

How to get the specific polyline coordinate?

I going to create a python script that detect a object and draw lines around it, after that i will also draw 4 lines around it that act as a border. When the object line collide with either any 4 lines around it, it will perform an action (temporary…
Leong JC
  • 11
  • 1
  • 2
1
vote
0 answers

open_CV contrib Android studio

I'm looking to apply SLIC algorithm on an image. I have open_CV integrated with Android Studio but I'm stuck in how to integrate openCV_contrib with Android Studio on Windows machine? I couldn't find how to do it.
1
vote
1 answer

python cv2.face lacking arguments

the code attached below import cv2 import numpy as np recognizer = cv2.face recognizer.loadTrainingData('trainer/example.yml') #recognizer.read() cascadePath = "haarcascade_frontalface_default.xml" faceCascade =…
1
vote
0 answers

Use SIFT in Python 3.6.4 in Mac OS X (AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d')

My version of Python is 3.6.4 OpenCV version 3.4.0 I want to use the SIFT function in OpenCV, but I got stuck in the error below... "AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'" I know by searching that 'xfeatures2d' can be used…
1
vote
1 answer

Errors using OpenCV with opencv_contrib on Xcode

For my application running on iPhone I am using OpenCV using opencv2.framework in Xcode with objective-c and C++ as languages. My development worked well until I wanted to introduce cv::Tracker that is not included in opencv2.framework but part of…
1
vote
0 answers

OpenCV_Contrib builds in java with empty modules

I have cross-compiled the opencv_contrib modules with opencv (contrib github, opencv github) from c++ to java using cmake and the mingw cross compiler, but some of the built modules (line_descriptors and DPM) built as empty classes or classes with…
Faraday
  • 11
  • 1
  • 4
1
vote
2 answers

How to find the model files for facemark->load model of OpenCV_Contrib?

bool myDetector(cv::InputArray image, cv::OutputArray faces, cv::CascadeClassifier *face_cascade){ cv::Mat gray; if (image.channels() > 1) cvtColor(image, gray, CV_BGR2GRAY); else gray = image.getMat().clone(); equalizeHist(gray,…
Hsmlee
  • 61
  • 2
1
vote
1 answer

Installing openCV with contrib modules

I was running python3.6 (32 bit) with opencv3.3.1. I saw this tutorial so I was trying out the brute force matching with SIFT descriptors: http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html I…
Steven Hsu
  • 183
  • 1
  • 3
  • 15
1
vote
1 answer

No makefile created for opencv_contrib

I'm trying to add the opencv_contrib package to my OpenCV 3.1 build. I am currently using the library in Microsoft Visual Studio 15. I have installed Cmake and GNU Make, cloned the opencv_contrib repo, and followed the instructions on…
T. Soemod
  • 91
  • 2
  • 7