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
2 answers

Failed OpenCV install unable to uninstall

While installing opencv_contrib (during make -j5 step), my laptop went to sleep and gave errors on the install, failing with a fatal error. Retrying make -j5 gave the same error again. trying to uninstall opencv completely using make uninstall also…
Alkove
  • 25
  • 7
0
votes
2 answers

Opencv contrib face library

I am trying to use LBPHfacerecognizer in my python3.6 code. recognizer = cv2.face.createLBPHFaceRecognizer() I am aware that face module is in opencv_contrib module. I even uninstalled openCV and installed again with contrib module. I compiled…
alexJJ
  • 13
  • 6
0
votes
1 answer

Many errors during compiling opencv_contrib

I have a trouble - I want to compile opnecv with opencv_contrib. I use Visual Studio 2013, last version cmake, opencv and opencv_contrib from github but... suddenly I can't. I did it in past, according to this…
Fidor
  • 121
  • 1
  • 10
-1
votes
1 answer

OpenCV(4.5.2) /tmp/pip-req-build-sl2aelck/opencv/modules/imgproc/src/color.cpp:182: error:(-215:Assertion failed) !_src.empty() in function 'cvtColor'

I try to make an attendance system via face recognition using computer vision technologies. Python Version: 3.8.10 The code is given below, import cv2 import numpy as np import face_recognition import os path = 'attendanceImages' images =…
-1
votes
2 answers

"AttributeError: module 'cv2.cv2' has no attribute 'dnn_DetectionModel"

Cammands used to install Folder structure The error The Code import cv2 thres = 0.45 # Threshold to detect object cap = cv2.VideoCapture(0) cap.set(3,1280) cap.set(4,720) cap.set(10,70) classNames = [] classFile =…
-1
votes
1 answer

NameError: name 'xfeatures2d' is not defined opencv[3.4.2.17]

I'm using opencv-python-3.4.2.17 and opencv-contrib-python==3.4.2.16. I have tried other versions also. But I'm still getting this error: sift = xfeatures2d.SIFT_create() NameError: name 'xfeatures2d' is not defined I have already referred to these…
-1
votes
2 answers

Compile error with OpenCV 3.3.0 and xfeatures2d

I downloaded the latest versions of opencv 3.3.0 and opencv_contrib, did the cmake with CUDA support and the make gives me: .... [ 80%] Built target opencv_xfeatures2d_pch_dephelp [ 80%] Built target pch_Generate_opencv_xfeatures2d [ 80%] Building…
1 2 3 4 5
6