Obtaining opencv UMat shape in python
Is there a direct way to obtain shape (number of cols and rows) of UMat array without converting it first to numpy object in Python?
View ArticleHow to find poselets in the Pascal VOC database?
my project involves grouping of similar arm poses. I have the PASCAL VOC 2009 database which has annotations that tells where the human is and the individual body parts. The arm location of people is...
View ArticleHow to do Extrema Detection for SIFT in java ?
Hey guys i working for implementation of SIFT algorithm with openCV 2.4.9 in Netbeans java, i was do try calculate Diffirence of Gaussian for search scale space extrema on SIFT Algorithm. The next...
View ArticleTo predict when vehical has stopped based on the visual input using opencv c++
Hi, I'm working on a project the objective is to predict when the vehicle has stopped based on the visual input. i have to write an algorithm in c++ which prints "STOP" at the top right corner of the...
View ArticleOpenCV: How to balance the bad lighting condition(brightness, un-even shadow)...
Hi my friends, Recently I have a problem when I try to do some image processing(OpenCV / Javescript Image Processing) on the selfie photo. The reason is the bad lighting condition. It's caused by the...
View ArticleScipy percentile_filter to opencv
Is there an opencv equivalent to the scipy percentile_filter function? I am migrating somo code from scipy to opencv because of the better performance of opencv. Thank you for the time.
View ArticleHow to mask and unmask a particular object in an image using its location
Hello guys, It is going to be a bit long explanation (I have included the code, and hence it is bit long), so please bear it with me. I have an image...
View ArticleOpenCV on backend?
hi I know this topic should actually be asked to the backend service provider who would be providing this service. Which I actually have done. I would still like to get an opinion from the OpenCV...
View ArticleHow do I convert vector to vector
I have `vector contour` and want to convert it to `vector`. What seems to work is vector contour2f; for (int j = 0; j < contour.size(); j++) { contour2f.push_back((Point2f)contour[j]); } Is there a...
View ArticleDifference of Gaussian: different outputs in OpenCV and ImageMagick
convert "inp.jpg" -morphology Convolve DoG:15,100,0 "test.jpg" <- This is the imagemagick command I use to get the result of DoG. In OpenCV, I do:- g1 = cv2.getGaussianKernel(15,100) g2 =...
View ArticlestereoRectify doesn't work sometimes
I have many shots of object on aruco board:  All images in the folder are undistorted, you can download them here:...
View ArticleTraining custom dataset using Histogram of Gradients in java
Hello, anybody know how to create own dataset or own training custom dataset for HOG in java ? i really need that for my research to detect 4 gesture hand using custom dataset for HOG thank you before.
View ArticleCan't link opencv libraries via Cmake in Linux
I used to have OpenCV3 from the Arch Linux pckage manager(pacman) and it worked fine but when I removed it and install OpenCV 3.4.1 and OpenCV-Contrib from source code nothing worked even the old...
View ArticlePhantom Intel IPP Asynchronous C/C++ Converters
Today in the morning I tried to follow this tutorial: [Intel IPP Asynchronous C/C++ Converters](https://docs.opencv.org/trunk/dc/d0e/tutorial_how_to_use_ippa_conversion.htmll) I was able to compile the...
View ArticleRunning TensorFlow network in OpenCV 3.3.1
I want to use TensorFlow models on OpenCV on a system without requiring to import the TensorFlow library. My ultimate aim is to do it in C++. I tried to run the TensorFlow(>=1.4) MobileNet-SSD on...
View ArticleGetting inaccurate results using tensorflow net and opencv dnn
I'm trying to use a tensorflow frozen graph to detect hands in an image. I get some weird extra boxes when I'm loading the net with opencv. I am using the frozen graph from this [handtracking github...
View ArticleHow to do multiple template matching with multiple objects by opencv Python.
Hi, I'm just beginner to the python and opencv. Based on this Template Matching, the following code is detect multiple object: import numpy as np import cv2 img =...
View ArticleHow do I install the Pycharm/Python/OpenCV combination?
Pycharm 2017.3 Python 3.6.4 OpenCV 3.4.1 Anaconda 64-bit Py3.5 Pip 9.0.3 Pypa 3/26/2018 I am trying to put together a working configuration of Pycharm/Python/OpenCV for Windows 7 64 bit. I have read...
View Articlenegative value of cv::Mat
I observe that when the Mat data,which were loaded from a picture, transform negative value to zero after subtracting by a number.But I don't need this transform,what should i do ?pleace. The codes are...
View ArticleApply Anti-Aliasing to an image
Hi, I have an image with jagged edges and I want to apply anti-aliasing to it. - I have tried using Gaussian Blur but the results are not what I want. - I have tried using edges mask to apply blur but...
View Article