Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing latest articles
Browse All 600 View Live
↧

How to properly set up VideoCapture Tags

I am having trouble setting up opencv in C++ to manually change these properties, but every time I try I get the warning "An unhandled exception of type 'System.AccessViolationException' occurred in...

View Article


Obtain Camera Pose and camera real world position using SolvePnP C++

I am trying to measure the pose of a camera and I have done the following. 1. Mark world 3-D(Assuming z=0, since it is flat) points on corners of a square on a flat surface and assume a world...

View Article


how to use unicode with knearest::train for arabic character

I want to do something like that but when I do that the result is ASCII code, not Unicode cv::Mat_ trainFeatures(40, 1); trainFeatures << 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س',...

View Article

Failed to open goturn.prototxt

I am using OpenCV 3.3.0 with C++ on Ubuntu 14.04. While trying to use GOTURN tracker, I am getting an error "Can't open 'goturn.prototxt' file in ReadProtoFromTextFile". Please note that I have done...

View Article

Issues with OpenCV train_HOG c++ sample code?

I am trying to train a HOG+SVM on the INRIA dataset using the OpenCV sample code [train_HOG.cpp](https://github.com/opencv/opencv/blob/master/samples/cpp/train_HOG.cpp). Firstly, I am confused why...

View Article


Find the the minimum value from the depth data

Dear All, I want to find the minimum value and its position from the depth data. As Depth image contain some 0 values. I have to ignore 0 values and search the minimum value. Can you please suggest...

View Article

Feature Matching; Detection of multiple Object Instances

Hello, I would like to implement a feature-matching-approach for multiple object detection. In related questions...

View Article

colour detection and cam output at the same time

Hello together, i am working on an small projekt where i need to show the Image of 2 cams and at the same time i want to show the detected colour in the console i am programming in c++ with opencv...

View Article


Compiling from source OpenCV 3.3 : Failed

There is a new version released few days ago of OpenCV 3.3. I'm trying to compiling it but I didn't succeed. I downloaded the OpenCV from source and I created a build folder in it and launch cmake:...

View Article


raspberry pi 3 video play c++

Im currently working on video processing project on raspberry pi 3 using OpenCV libraries. As a guide im reading opencv2 computer vision application programming cookbook. If you are familiar with this...

View Article

Conversion of depth data into the point cloud data with opencv

Hi All, I am working depth data which was taken from stereo camera. It is in the form of short values. I want to covert depth data into point cloud data. If anyone know any research papers or method...

View Article

How to handle waitKey() during threading

I am trying to mess around with multi-threading and OpenCV so I wrote the following program. void performSearch(Mat& original, Mat& grey, Mat& result) { // do stuff waitKey(); } int main()...

View Article

Machine learning approach for extraction of arm.

Dear All, Currently, I am working on arm detection with the help of machine learning approach in opencv with c++. I am using rgb as well as depth data for it. As I am new in machine learning filed. If...

View Article


Time to contact

Hey, I'm struggling wrapping my brain around how to estimating time to contact using motion vectors ( or maybe expansion cues?) from optical flow. I have tried reading some papers on the topics, but so...

View Article

Unhandled exception in Release version of Feature Detection and Feature...

Hello folks, I have OpenCV 3.2.0 installed on VS2017 CE. I built and compiled the tutorials on Feature Detection and Feature Matching with FLANN using code from...

View Article


cvWaitKey is not generating key codes for naviagation keys

I have involved with opencv key function ie cvWaitKey(0).whenever i press the "r" key the point on opencv image window is moving right direction, for "L" towards left ,for "u" upward direction as...

View Article

Dewrapping results not expected result

I'm trying to iterate through end points of lines, build segments between them and finally dewarp the distortion. I should imagine, that all those "mini"-segments are small images (somthing about...

View Article


bad results with findCirclesGrid

Hello everybody, I'm trying to write a program for a camera-calibration using the 4x11 asymmetric circle grid. I use a camera with 3840x2750 pixels. Although the pattern is recognized by the program...

View Article

I want to perform object recognition using images and videos but i dont know...

I am recently working on object detection using traincascade in opencv which i have learned a lot and prepared an .xml file to detect tomato but I have to perform object recognition . Please suggest...

View Article

Detection of hand from the depth data.

Hi All, I am working on human skeleton extraction from depth data. I did some research on machine learning approach but it is difficult to apply machine learning to find out whole body skeleton. So, I...

View Article

What's the best method for tracking identical objects?

Hi all, I'm sorry that my question is so wide, but I will try to explain in detail what is my problem. So, I just wrote a program, that checks whether two balls of different colors are on the collision...

View Article


Why am I Getting distorted images after sending them from C# to OpenCV in C++?

I created a C DLL out of my C++ class which uses OpenCV for image manipulations and want to use this dll in my C# application. Currently, this is how I have implemented it : #ifdef CDLL2_EXPORTS...

View Article


How to read .mat file in opencv c++

Hi all, I have file in .mat format. I want to read this file in opencv with c++. If anyone idea, let me know. Thanks

View Article

OpenCV V3.3 64bit Video Capture Memory Leak

Dear community, with this simple peace of code a get a memory leak using opencv v3.3 64bit with Visual Studio 2015. int i = 0; while (i++ < 50) { VideoCapture test; test = VideoCapture(0); } Can...

View Article

IOS opencv memory rad failed for 0x0

when program go to a certain line, it goes to `error: memory read failed for 0x0` stop at queue: ` com.apple.avfoundation.videodataoutput.bufferqueue(serial) thread 4 0 0x00000000`...

View Article


OPENCV doesn't show images for feature detection

I am using this tutorial: http://docs.opencv.org/3.0-beta/doc/tutorials/features2d/feature_detection/feature_detection.html It built successfully but I don't see any images. Can anyone help ... Thanks

View Article

How to play a video in opencv using C++?

Please tell me how a video file is played in Opencv. I tried using cvCapture. here is the following code I used. it is displaying 'video not opened'. int main(int argc, char* argv[]) { CvCapture*...

View Article

Conversion of channel 3 to channel 1

Hi All, I have depth data stream. I am getting the data type of of video stream is 16 which is CV_8UC3. How to convert this channel 3 to channel 1? and also, This video stream contains only the...

View Article

Unable to play a video in opencv3

Here is my new code. int main(void) { cv::VideoCapture capVideo; cv::Mat imgFrame; capVideo.open("C:\\Users\\sbv\\Documents\\MyVideo.avi"); if (!capVideo.isOpened()) { std::cout << "\nerror...

View Article



Changing Exposure with Windows Forms

Hello, Every time I run this bit of code meant to change the value of the exposure with a trackbar and I am getting an error saying System Access Violation, attempted to read or write to protected...

View Article
Browsing latest articles
Browse All 600 View Live