Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 4615 articles
Browse latest View live
↧

Android HOGDescriptor return a 0x1 descriptor array

Hi everyone, I have imported opencv in my android project. I am trying to find some number containg contours then compute HOG on it for classification. Main problem I am facing now. In visual studio...

View Article


CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:266

Hello, i am trying to build OpenCV with the OpenCV-contrib modul. I am using a Mac (10.13.4) and my Cmake command is: I am using Clang 8.1 : > Apple LLVM version 8.1.0> (clang-802.0.42)...

View Article


Gaussian Fitting an image in OpenCV

Hey! So the thing is, I am trying to plot a gaussian fit of an image in OpenCV using any existing functions if available. The sample inputs and outputs are: ![Gaussianity of Natural...

View Article

Opencv LBPHFaceRecognizer Train data in Python

I am working on face recognition with LBPH algorithm and i need to save train data to database. recognizer = cv2.createLBPHFaceRecognizer() recognizer.train(images, np.array(labels)) i need to see...

View Article

OpenCV GaussianBlur filter Difference Python VS C++

Is there any difference between the Gaussian Blur between C++ and Python? According to my code, for example, i have an image before the Gaussian, with the same values in C++ and in Python. But right...

View Article


How to solve problem with VideoCapture loading in linux ?

Hi, I've written the following code so as to load a mp4 video into VideoCapture, however, when I check the capture with `isOpened()` I get false . I'm 100% sure that the mp4 file is within the folder...

View Article

How can apply this fuzzy histogram hyperbolazation to OPENCV

Hello, I found a paper that talks about image enhacement using CLAHE and fuzzy histogram hyperbolazation (FHH). Link: http://www.inase.org/library/2015/vienna/bypaper/BICHE/BICHE-09.pdf ![FHH![image...

View Article

OpenCV Contrib

Hello, How to include OpenCV Contrib in the last version of OpenCV ? How to compile ? Thx, Christophe

View Article


YOLO v2 outputs zero scores and classes

Hello, I'm trying to test Yolo v2 working in C++. I have replicated in my own project the example code to perform object detection from: [OpenCV DNN Object Detection...

View Article


Mixture of OpenCV version?

I'm confused about the following code in crop_plates.py at https://github.com/openalpr/train-detector: import os import sys import json import math import cv, cv2 ... moment = cv.Moments(points) ......

View Article

Compiling OpenCV with super fisheye support

Hi guys, I've been working on a project for camera-pose estimation and have been using OpenCV. The problem is that my camera is of type Fisheye and has a FOV over 200° which is unsupported by OpenCV....

View Article

Template matching behavior - Color

I am evaluating template matching algorithm to differentiate similar and dissimilar objects. What I found is confusing, I had an impression of template matching is a method which compares raw pixel...

View Article

RaspiCam fisheye calibration with OpenCV

Hello everyone, I am trying to calibrate RaspiCam Fisheye lens camera with OpenCV. I am using Python example code and the cheesboard row and column numbers are also correct but somehow I can not get a...

View Article


Run OpenCV to MFC

I have reproduced [this](https://www.youtube.com/watch?v=A4UDOAOTRdw) sample, in a MFC app. The cv::Mat is a CDOcument variable member: // Attributes public: std::vector m_blobs; cv::Mat m_Mat; and I...

View Article

How to remove the black border around mainlogo.png in Result image Opencv...

Hi, How do I remove the black border around mainlogo.png in Result image? import cv2 import numpy as np import imutils img1 = cv2.imread('ralph.jpg') overlay_img1 = np.ones(img1.shape, np.uint8)*255...

View Article


Implementing BagOfWords in java?

I am new to `Java` and `Opencv`, i have spent 2 days trying to implement `BOW` in `Java`, i am using OpenCV 3.2.0 since it is the only version that i found contains BOW classes in Feature2d int...

View Article

No rule to make target ".../libopencv_cudabgsegm.so.3.4.1"

I have followed the tutorial on the following link: https://docs.opencv.org/2.4/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.html I have added the following line into ~/.bashrc in order...

View Article


Finding contours of a plant root

I have an image which has roots like this: ![image description](/upfiles/15291321643701899.png) I want to crop each root individually out. I initially thought of heavy dilation followed by erosion and...

View Article

opencv, Geometric Transformations of Images

hi i sezai, while working on OpenCV today. I get a mistake in one subject. "Geometric Transformations of Images" OpenCV version 3.1.0 codes this way. import cv2 img = cv2.imread('sudoku.png')...

View Article

Assertion Failed Errors

I have tried searching on this forum, reading the documentation, and googling. I could not find an answer to my question. Below is a brief of what I am trying to do: 1. The `Mat` object `frame`...

View Article
Browsing all 4615 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>