Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 4615 articles
Browse latest View live
↧

How to detect weather the circle is green or black...

I have currently made an image that consists of black and green dots..... I made a print of it and then clicked it with my camera..... After that i made a program to scan this image in opencv. Here is...

View Article


CSV file creation error in face recognition

I am trying face recognition program in opencv as per the instructions given on docs.opencv.org. I have downloaded the training sample database, however I am unable to create the csv file. I am trying...

View Article


Converting c++ to java

I have the following code in C++ vector hierarchy; //some code here findContours( edges, contours, hierarchy, RETR_TREE, CHAIN_APPROX_SIMPLE); //some code here while(hierarchy[k][2] != -1) { k =...

View Article

sys/videoio.h: No such file or directory

Hi, when I try to install opencv and run this code cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. So,I got an...

View Article

Python - Undistort script won't work

I wrote the following script to undistort multiple photos in one go by defining a containing folder. Because of the fact that the camera I am using is calibrated professionally and all of the...

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

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


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


Undistort image before estimating pose using solvePnP

I have to estimate the pose of the camera using a known marker. The camera is calibrated and I have all the calibration coefficients. The current version of the algorithm extracts 4 co-planar points...

View Article

opencv image proccessing not recognized text(OCR)

my code is to detect an document using android mobile camera (realtime).this is under oncameraframe().also i am using custom camera which is extend the Javacameraview.images taking from this is low in...

View Article

Opencv 3.1 capture from multiple cameras.

I'm using 2 Logitech C170 usb webcams connected to USB 3.0 ports on my front panel on Windows 10 Opencv 3.1 Visual Studio 2015. I have no problem getting image from one camera at a time either 0 or 1...

View Article

Illegal instruction vmovss on running openCV program

Hello, I'm running a centos7 machine and I have installed opencv3 by compiling the source. I have a test C++ program to run openCV but it gives the error: Illegal Instruction. I extracted the core dump...

View Article


problem installing opencv-python on Windows

I am a newbie to python and opencv although I have been programming in various languages (but mostly 'c') for some time. I am trying to follow the tutorial to install opencv-python on Windows 7/sp1 x64...

View Article

Detection and counting cars - OpenCV and C ++

Hi, I'm working on software for vehicle control, I am using OpenCV and C ++ to create the software. for detection of the cars I am using a classifier haarcascade .XML and detects vehicles. now my...

View Article


i want the watershed code in eclipse...

http://docs.opencv.org/3.1.0/d3/db4/tutorial_py_watershed.html#gsc.tab=0 i want the above code for eclipse( openCv/c++).

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


How do I convert an cv::Mat to float pointer?

I want to represent the matrix of `cv::SIFT` descriptors `cv::Mat descriptors` as `float*`. This is because I want to use [GMM from VLFeat][1] (if you any better solution, please let me know). This is...

View Article

3D clod point to 2D image

Hello, I have 3D point cloud data which I want to convert into 2D image and save to the disk as 16 bit png image. I am using projectPoints() function which is giving me the projected points in the form...

View Article

opencv_error_code-215_channels

Hi, Does anyone know why I'm getting the error message below : Thanks, OpenCV Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in copyTo, file...

View Article
Browsing all 4615 articles
Browse latest View live


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