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

How to decode an h264 IP stream using the GPU?

I need to decode 4 1920x1080 IP camera streams (multicast) that are encoded in H.264 as fast as possible using a GPU. The problem is it seems there is no support for this. The `VideoReader_GPU` class...

View Article


convert bitmap to Mat with new image and return it in opencv android

I'm new with opencv in android. I've downloaded latest opencv sdk for gradle android studio. I'v imported its sample for face detection and successfully build it. it looks like that ![image...

View Article


How to classify Chain codes?

I have already extracted the shape descriptor chain code which is in the format CvChain* now I have to feed that into SVM for training. I need to convert CvChain* into Mat. Any idea on how to do this?...

View Article

OpenCV SVM gives different results than libSVM

I've looked around for posts on the same subject but I couldn't find any similar problem. Here is my situation : I'm running OpenCV's SVM and libSVM algorithm on the same data, with the same settings...

View Article

Stereo Calibration - what is optimised?

In the stereo camera calibration code, I'm a bit confused as to what parameters are optimised. If we ignore intrinsic parameters for now, is it: (a) The left (or equivalently right) extrinsic...

View Article


How to get actual height and width of object in the image in android OpenCv?

I need to calculate actual object width and height that displayed in the image.My purpose is to calculate the wound's height and width in human body without knowing any thing such as focal length,...

View Article

Pixel value (ni, nj) to real world coordinate (x, y) (Python)

Here is what I'm trying to do. I wish to translate a pixel from an image I captured from my IP camera to a real world coordinate on a field. I have calibrated the camera, and so I have all extrinsic...

View Article

Reproject3D: Where is exactly the origin of the point cloud?

I am asking which point is the reference point of the Reprojection-Matrix Q or rather the xyz-data. There are to my mind two possible options: 1. The origin of the xyz-data lies in the optical center...

View Article


How can I get rotation-vector from Euler-angles?

If I have 3 Euler-angles then how can I get rotation-vector to use it for camera-rotation in [OpenCV-viz3d](http://docs.opencv.org/2.4/modules/viz/doc/viz3d.html#)? I.e. how can I get `Vec3d( X, Y, Z)`...

View Article


Create a vector field out of wood grain

I'm currently looking at ways of extracting information regarding the specific wood grain structure in standard wood components. What I'm particularly interested in is to create a vector field out of...

View Article

Issue kernel_type no attribute called cv2.SVM_LINEAR

Hello, I am using the version 3.0.0 of OpenCV with Python version 2.7. I would like to use the SVM algorithm like below: svm_params = dict( kernel_type=cv2.SVM_LINEAR, svm_type=cv2.SVM_C_SVC, C=1 )...

View Article

Rodrigues giving empty Matrix

Hi, I'm implementing markerbased tracking on Android and I'm stuck at the rotation matrix. Up until the solvePnP everything works fine and I get results (rvec, tvec) that seem legit. But after using...

View Article

camera image in grayscalewith opencv and android

I am a beginner in opencv and android .I look for a java code that open the camera of an android in the grayscale and save the image in the gallery of the mobile.

View Article


opencv_world310.dll for x86

I am developing a program to work on a 32 bit machine and would like to incorporate opencv 3.1 into it. Is there a library wrapper for the x86 build that will allow me to not individually include all...

View Article

Opening an url in opencv 3.0 with VS 12 C++

I want to put a mouse click event when I click on the picture a pop up a window and open an internet URL (not an image from the net and not for IP camera). My code for the mouseclick event for left...

View Article


seksturystykaseksturystyka

Chciałam poruszyć inną kwestię. Urlop z dziećmi to aktywny odpoczynek, urlop z dwójką dzieci, które mają drzemki w rożnych porach w ciągu dnia to brak chwili odpoczynku dla rodziców, to ciągły bieg za...

View Article

How to extract the object on white paper?

I am new to OpenCV. Firstly, an object is placed on a white paper and then a photo is taken using a robot camera. At the next step, I am trying to extract the object placed on a white paper using...

View Article


How to convert my code of IplImage to cv::Mat or How to make my code by using...

I was trying to convert Iplimage structure to cv::Mat class. But I got something wrong error in new code that I fixed. So, I just want to compare what you guys will fix it with mine. Can you convert...

View Article

What is the default working directory while using opencv?

I'm using opencv by integrating with ANACONDA.Whenever I try to display an image,it throws the following error. error Traceback (most recent call last) in () ----> 1 cv2.imshow('stinkbug',img) 2...

View Article

How to include ros.h and other ros headers??

#include #include #include #include #include #include #include #include #include #include #include // only for unix? #include #include #include #include #include namespace fs = ::boost::filesystem;...

View Article
Browsing all 41027 articles
Browse latest View live


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