Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 19555 articles
Browse latest View live
↧

How can I show a OpenCV image in a dialog of MFC.

The type of cv image is cv::mat. And there is a PictureControl in dialog, or any other control, (just for show image). There picture is a BMP file (512 *1024). I load it by "Mat img=imread("path")" ,...

View Article


Where is the function cvUndistort2()'s code?

I wanted to find it. I searched all the .hpp files and could not find how this function comes true. I know there is a declaration in imgproc_c.h but this is not what I want.

View Article


Using android camera and processing frames for tracking

Hi, I need to do tracking using opencv in android, I can't find a way to process the frames and then show them on preview. Is the way to do it is not to show the camera preview and just paste the...

View Article

getPeopleDetector48x96 missing in 3.0.0

Hi, I am trying to use openCV's `HOGDescriptor` to detect pedestrians in a video named 768x576 provided in data folder. I am using `getDefaultPeopleDetector()`as input to SVM but it suffers from a lot...

View Article

Sir.. i m looking to know about how to measure or recognize eye movement..

Sir. if u have any knowledge about how to measure movement of eyes, through that software or is there any other way to know same. that will help me to get out from the trouble. Thank you ..

View Article


Preprocess images before feature detection?

Hi! My goal is to find known logos in static image and videos. I want to achieve that by using feature detecton with KAZE or AKAZE and RanSac. I am aiming for a similar result to:...

View Article

Python, VideoWriter yields empty file (5.7kb), if the video isn't square

cv2.VideoWriter.write(frame) This code simply does nothing if the frame is not square. Is there any solution for this issue?

View Article

OpenCV Error: Assertion failed (prevPyr[level * lvlStep1].size() ==...

I am working on 2 images, on the first one i found goodFeaturesToTrack and draw it then on it, i am trying to to tracking with that to the second image but the line of calling calcOpticalFlowPyrLK...

View Article


stereoRectify openCv function Abort called

I am trying to rectify two images using OpenCv inbuilt function stereoRectify. My code for the same is given below :- Mat R1=Mat(3,3, CV_64F); Mat R2=Mat(3,3, CV_64F); Mat P1=Mat(3,4,CV_64F);//camera...

View Article


Can't open image from Python

From IDLE, I do: Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import...

View Article

LaTeX in OpenCV

Hello, I'm using OpenCV for Python 3, and I would like to know if there's any method to put LaTeX symbols on images. I'm using something like this `cv2.putText(img,'OpenCV',(10,500), font,...

View Article

Use OpenGL Texture as Input

Hi, I am writing an Android app (in native C) where I load a MJPEG stream onto a OpenGL Texture (this is already working). I would like to use OpenCV to detect markers on the frames. Is there a way to...

View Article

Convert all elements of a certain value in a Mat to another value

I am converting some matlab code to java using OpenCV 3.1 I am converting a matrix made up of 0 and 1 elements to a matrix of -1 and 1 elements by converting all elements of value 0 to value -1 Here is...

View Article


HOG setSVMDetector slow

I'm using HOG with custom svm. I've used https://github.com/opencv/opencv/blob/master/samples/cpp/train_HOG.cpp but my feature vector has 2268 features and get_svm_detector() give me 2269 support...

View Article

Open cv 3.1.0, open cv 2.4.13 -Java - building library with cmake/ Visual Studio

Given the the above requisites , how to replicate the standard open cv build as downloadable from github? When my build is built, It doesn't produce the open cv x.x-Java.dll. It does however build the...

View Article


OpenCV 3.0 doxygen documentation still very counter intuitive

I would like to open up this topic to bundle together all possible suggestions that could improve the current doxygen documentation. I understand why the change has been made, but for now I find it...

View Article

Image recognition on Android

I am trying to develop an Android app on Android Studio that allows the user to point the device camera to a target object and the app will find a similar image from a folder of images on the device....

View Article


setting up opencv in windows 7 to run tutorials

I am a embedded developer (most of my work is done with 'C' using various IDE's in the Windows environment but don't have a lot of background with Visual Studio (have done a couple of apps but no guru...

View Article

Restrict flow field to horizontal disparity

Hello, I was wondering if any of the flow field implementations in OpenCV can be restricted to only allow disparity along the horizontal axis. Background: I know which linear movements are occurring...

View Article

Face Detection example how to run in android 64 bits

RHi, I runned face detection example in a android 32 bits without problem, but i want to run it in a android 64 bits, but show error at loading opencv library, is there a way? thnks. Regards, Juan

View Article
Browsing all 19555 articles
Browse latest View live


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