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

tracking movement in a

Hello Forum. Need some help (well a lot really please). I am trying to track movement in an area. Imagine a cat walking across a lawn, it starts at one side and walks across to the other, how do I...

View Article


Object detection rectangle doesn't cover whole object

Hello everyone, I just started to work with openCV. I decided to use this library to detect an object on image and cut it from them. I trained cascade, unfortunately it doesn't work very well. I tried...

View Article


Default color space for frames in video

Hai, I have a video which is having yuv color space and H264 codec. I am using Opencv videocapture function to read a frame. I just want to know whether the frame's mat object is in BGR or YUV color...

View Article

rectA & rectB not working

I am trying to get the intersection of 2 rectangles. What happens if the 2 rectangles do not intersect at all ? Will it give me an error ? Because the output below is what I am getting. The limits are...

View Article

How to create Mat from rgb 2d arrays?????

Mat om=new Mat(); double[] rx=new double[3]; for(int i=0;i< sizeA.height;i++) { for(int j=0;j< sizeA.width;j++) { rx[0]=r3[i][j]; rx[1]=g3[i][j]; rx[2]=b3[i][j]; om.put(i, j, rx); } } I am using...

View Article


Decoding a h264 (High) stream with OpenCV's ffmpeg on Ubuntu

I am working with a video stream (no audio) from an ip camera on Ubuntu 14.04. Also i am a beginner with Ubuntu and everything on it. Everything was going great with a camera that has these parameters...

View Article

Open udp encoded videostream with gstreamer

Hello, I have a host which sends videostream with opencv and gstreamer. Writter looks like this: > writer.open("appsrc ! videoconvert ! x264enc noise-reduction=10000 tune=zerolatency...

View Article

Access channels of CV_8UC Image

I want to convert a *float* matrix to an *unsigned char* matrix with the same number of channels. cv::Mat imgA(3, 3, CV_32FC(5)); // image is filled with something cv::Mat imgB; imgA.convertTo(imgB,...

View Article


Why cv::CascadeClassifier works slover in 320 version?

I have found in one of my projects, that cv::Cascadeclassifier from the new 320 opencv becomes to work slower compare to 310. Why so? I am manually build both versions with pretty same settings. After...

View Article


DNN module - Can I pass in an arbitrary sized input ?

The deep NN module in opencv requires me to specify the input size http://docs.opencv.org/trunk/d5/de7/tutorial_dnn_googlenet.html resize(img, img, Size(224, 224)); //GoogLeNet accepts only 224x224...

View Article

opencv VideoCapture property

Hi, Is there any API in opencv ( or any programmatic way ) to get the range of a particular property of VideoCapture class like exposure or brightness.

View Article

Roboust Human detection and tracking in a crowded area

Hello! I am working on an application where I need to detect and track people in a crowded indoor area(like a mall). Right now I am using the OpenCV Background Subtraction class(MOG2) to detect blobs...

View Article

How to Do Matching in Opencv android

![image description](/upfiles/14829299266523964.jpg) I'm doing an android project to scan the code on the card( holding by a girl in above image) and identifying a person. I searched in google n came...

View Article


how to find angle from x y points?

I have image which contain 12 center point of rectangle. I am not getting how to code for image rotation from that point.[C:\fakepath\deskew.png](/upfiles/14829318308820113.png).Please help me with...

View Article

Sports Betting Secrets 3 Pointers To Win Football wagers

The challengers. You do not only need to understand what your favourite teams' stats are. The competitor's stats are significant if that's vital. Who would not desire to know anything about their...

View Article


How to? Aruco java...

Hello all. I build OpenCV and Aruco module, from Git... Build script: mkdir -p build_android_armeabi-v7a cd build_android_armeabi-v7a cmake \ -DANDROID_ABI=armeabi-v7a \...

View Article

openmp with sections directive

Hi, I have a tracking algorithm with two main parts; 1. tracking algorithm 2. video overlay. A lot of stuff needs to be overlayed and it takes a lot of time. I was thinking of parallelizing the two...

View Article


Color band on SURF descriptors

I'm reading [this](http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6847226) paper for obtaining better VLAD descriptors. The main difference is the use of the so called **CSURF** which is (quoting...

View Article

Problem getting Mat from GigE camera (Sapera SDK)

Hi, I am trying to get Sapera SDK SapBuffer object (Genie NANO GIgE camera) as a cv::Mat. From documentation for this sdk I know that "The SapBuffer Class includes the functionality to manipulate an...

View Article

Can't build opencv 2.4.11 with python

When I try to build opencv 2.4.11 with both c++ and python, an error comes up for python- Traceback (most recent call last): File "", line 1, in ImportError: No module named numpy.distutils The thing...

View Article
Browsing all 19555 articles
Browse latest View live


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