How to use X64 and X86???
I installed Visual Studio 2010 and opencv 2.4.9 in windows 7 64 bit. When I use X64 for library, there is a link error showing incompatible with machine. When X86 is used, errors are shown for dll...
View ArticlegetRotationMatrix2D gives error
The python function getRotationMatrix2D as follows center = tuple(np.array(image.shape)/2) rot_mat = cv2.getRotationMatrix2D(center,angle,1.0) result = cv2.warpAffine(image, rot_mat,...
View ArticleHow to get a binary representation of a binary descriptor
Hello, I'm working with binary descriptors like ORB and AKAZE in opencv and want to store each descriptor (a col of the descriptor mat) as binary string. To perform the query, I want to save these...
View ArticleUsing SIFT/SURF obj. detection with Android
Hi guys, I'm working again on a shelf detector (detects product on a shelf and cut them into images) but the last approach (using hist inspection, as mentioned in my previous question) did not suited...
View Articledisparity map result image size(height& width)
Dears, I have implemented the following code using SGBM to find the disparity but the result of disparity map looks larger (hight and width) than left and right (original), so is there any idea how to...
View ArticleSuggest the best strategy to find out type of document.
Hello everyone, We have almost 20 different types of documents(like driving license, social security card, company I-card). Now I want to create a application which can detect the type of document...
View ArticleBSOD (Kernel Security Check Failure) when using T-API in OpenCV 3.1.0 x64 (VS12)
Hi all, I am having some issues when using OpenCV 3.1.0 (x64) in Visual Studio 2013. Concretely, a Blue Screen with a Kernel Security Check message shows up when I try to use the T-API. Just reading a...
View ArticleHow to calculate camera focal length in OpenCV
Hi all, I wan to get camera focal length in OpenCv. I am using java code in Android.
View ArticleOpenCV Web Application
Hi, I have created a program using Visual Studio 2012 pro, C++ and OpenCV 2.4.x. I am searching a Book, Tutorial or Details how I can run my app on a web server where Users can upload an image, the...
View ArticleOpenCV4Android - Extracting the outer edge of a circle.
So I have a set of images with a single circle on them in roughly the same location. On the edges of those circles I have various colors. What I need to do is extract outer 100px of that circle and...
View ArticleDifference between thresholding function
Hi Guys I have two set of codes for thresholding > Code 1 import cv2 import numpy as np Image = cv2.imread('blue.jpg') Threshold = np.zeros(Image.shape, np.uint8) cv2.threshold(Image, 121, 255,...
View ArticleExtracting only blue from given image
Hi Guys I Have an input image as  I Have used the following code to brighten blue import cv2 import numpy as np Image = cv2.imread('blue.jpg')...
View ArticleUndefined depth matrix
Hi there, I'm trying to create an undefined number of layers, like this: Mat img(rows, cols, CV_32SC(N)); It works fine until I need to access the values. I know I can't do anything like: Vec p =...
View ArticleBest way to cluster a group of people running?
I have implemented Optical flow on a video in which a group of people are running. I need to cluster them into a group and then track them accordingly. I am confused which clustering algorithm should...
View ArticleGet a score for each detected circle using HoughCircles
Say that an image contains several shapes and the HoughCircles finds N circles in it. Is it possible to calculate a "score" for each found circle? I'm asking because sometimes it detects irregualr...
View Articleplanar subdivision problem
i have code for planar subdivision in opencv 2.1. when i import it into opencv 2.4.9 then all the function written for planar subdivision reported missing. Previously, these function was available in...
View ArticleIdeas to distribute face detection
Hi all, i'm trying to implement a face recognition system using an embedded board, intel Galileo, precisely 4 board. Each board has a video in which there are persons crossing a portal and the cam is...
View ArticleOpenCV is built with CUDA but gpu::getCudaEnableDeviceCount() returns 0
Building OpenCV, the cmake output is> General configuration for OpenCV 2.4.11 ===================================== Version control: unknown Platform: Host: Linux 3.13.0-79-generic x86_64 CMake:...
View Articlehow to calculate real object width and height with known distance ?
Hi all, I want to calculate real width and height of the object, I can give distance of objects from camera, please help any one to find the solution..
View Articleeliminating edges
Hello guys, who tells me how to remove the edges and the center line? So as to have only the characters? Thank you...
View Article