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
0
votes
1 answer

Opencv-contrib installation error: file not found

A Linux newbie here. On Linux Mint, python 3.8, under Anaconda, trying to install opencv-contrib-python by pip install --no-binary opencv-contrib-python opencv-contrib-python After a long and very resource-intensive process get this error. Any…
0
votes
1 answer

C++, OpenCv at c++ gives error though it is build right

I am new in c++ but i need to do a project using opencv. I have downlaoded opencv-4.5.2 and opencv_contrib and I am using Visual 2019. I have used cmake and I got no error. Then in the project I have included, the…
makala
  • 1
  • 1
0
votes
1 answer

OpenCV contrib on windows c++ (not all stuff included)

I am having problem with bulding contrib. Some libraries arent generated after runing BUILD and INSTALL scripts in visual studio. (doing for both release and debug). I followed these manuals: OpenCV install opencv_contrib on…
Jan Retych
  • 53
  • 8
0
votes
0 answers

OpenCv for c++ on ubuntu is not getting installed

Assalamualaikum I followed this article from top to bottom But when I executed - pkg-config --modversion opencv an error message showed up -'Package opencv4 was not found in the pkg-config search path' However, there exists a folder named opencv4…
0
votes
1 answer

How to make the opencv-contrib module work?

I followed this guide to install opencv (version 3.4.4) and the contrib modules because I want to work with the SIFT algorithm. https://www.pyimagesearch.com/2018/05/28/ubuntu-18-04-how-to-install-opencv/ When I noticed, it was not working as…
SilverA
  • 23
  • 1
  • 5
0
votes
1 answer

Cannot find reference 'ximgproc' in '__init__.py

i want to use cv2.ximgproc module. this is add-on module at Opencv but there is a problem to load module. I tried pip install opencv-contrib-python but it doesn't work. to be precise its already installed but can't not find cv2.ximgproc…
Bro K
  • 43
  • 7
0
votes
1 answer

Cannot create FisherFaceRecognizer with OpenCV 4 (C++)

I'm following an older tutorial on face recognition based on OpenCV in C++ and have an error I can't resolve. The relevant code snippet: #include "opencv2/core/core.hpp" #include "opencv2/face.hpp" #include "opencv2/highgui/highgui.hpp" #include…
Totemi1324
  • 468
  • 1
  • 6
  • 19
0
votes
0 answers

Why does cv.aruco.Board_create force CV32F datatype?

I am trying to use Aruco boards for high-precision (< 1 mm) localisation of a small object, with small markers (markerLength < 2 cm). I figured that there is some kind of precision limit using Aruco boards, around 2 millimeters. I wondered why, and…
Jux
  • 49
  • 5
0
votes
1 answer

cv2.namedWindow and imshow is not working properly

This simple piece of code is not working. output = cv2.namedWindow("Output", cv2.WINDOW_AUTOSIZE) cv2.imshow(output, saliencyMap) cv2.waitKey(0) It should show the saliencyMap inside "Output" window but it is generating two windows(below). I am…
0
votes
0 answers

Importing OpenCv on pythonanywhere after cmake installation

I'm trying to deploy my web app on pythonanywhere and I need OpenCv with cotrib modules on it. So I compiled it using the following cmake config: cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D WITH_CUDA=OFF \ -D…
Aleningi
  • 3
  • 3
0
votes
1 answer

building opencv with sfm module issues

I am trying to build opencv with sfm modules I've built and installed gflags then glog and the ceres-solver. Yet the make logs says: Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags. Even though in earlier…
Richard
  • 1
  • 3
0
votes
1 answer

Problems building openCV with contrib using CMake in windows for visual studio 2019

I am having trouble building openCV (I need to use the contribs libraries) in windows for visual studio 2019. I am a bit confused as to how this works - I have python 3 installed via anaconda 3 and I am getting the following error: CMake Warning at…
Richard
  • 1
  • 3
0
votes
1 answer

namespace SIFT error in making opencv and opencv_contrib 4.3.0 (under ubuntu)

the error broke during the make period this is the procedure before the error came out 1.download the source code from github of opencv and opencv_contrib 4.3.0 2.creat a dir under opencv source code dir name opencv_contrib 3.enter the build dir and…
0
votes
0 answers

opencv contrib problem with sift and surf

for the following code! sift = cv2.xfeatures2d.SIFT_create() i get this error AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' when i install it using conda: *Requirement already satisfied: opencv-contrib-python in…
Moun
  • 325
  • 2
  • 16
0
votes
0 answers

non-free opencv algorithms missing despite included in cmake

using the opencv sift feature in my python3 script gives me: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in…
thatandre
  • 23
  • 1
  • 3