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 ArticleCMake 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 ArticleGaussian 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:  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 ArticleHow 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 ArticleImplementing 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 ArticleNo 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 ArticleFinding contours of a plant root
I have an image which has roots like this:  I want to crop each root individually out. I initially thought of heavy dilation followed by erosion and...
View Articleopencv, 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 ArticleAssertion 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