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

is resize a cpu intensive operation

Hi, Instead of doing a resize for different Mat variables, if i had a need anyway they are all to be the same size, could i not do once: resize(src,dst ...) and then assign other Mat variables the same...

View Article


'I', 'Y', 'U', 'V' exception

Hello, I am recording video using IYUV codec. It is present in my system, because i can see it when using -1 for FOURCC ![image description](/upfiles/14734033757112832.jpg) But first time i want to...

View Article


Control VideoCapture Multithreading

Is there a way to limit the number of threads (or even just cpu cores) that VideoCapture().read() can use? I am processing h264 encoded videos in a parallelized program and want to be able to control...

View Article

C++ to Java/Android

I need conversion in this line of code "while(hierarchy[k][2] != -1)" from C++ to Java. hierarchy is of type MatOfInt4 and k int. PS hierarchy.get(k,2) doesen't work because return a double[]

View Article

I want to detect closed eyes after it closed 3 seconds

This is a program to detect eyes closed. But i want after eyes closed 3 seconds, it will print "Warning" in terminal. for (x, y, w, h) in faces: cv2.rectangle(image, (x, y), (x + w, y + h), (255, 255,...

View Article


Dropout red color and binarize image (Android)

Hey, im new to OpenCV and i'd like to use it in my Android Application. In the app i have to process some images of transactions like this: [Example...

View Article

Better way then clone() to get a single frame

Hi all, Noob question: I'm creating a history of faces, and currently the only way i found to do that is to create a face.clone() (other methods just make a copy of the video and then i have lots of...

View Article

LBP train_cascade process of training

I am trying to understand what is train_cascade ( using LBP) actually doing with samples. If I have, for example, 1000 positives and 1000 negatives, it calculates LBP histogram for each, right? And...

View Article


How to save multiple images in a "for" loop?

I need to save a lot of pictures in a "for" loop.I use python,imported opencv3.0.0 library already.

View Article


Visually anayzing network diagrams.

I'm trying to build a system which can recognise simple networks of connected nodes from hand drawings eg. ![Simple network](http://nooranch.com/blogged/pics/x5.jpg) I'm particularly interested in...

View Article

Background model technique with disparity map

If I have generated a disparity map or depth map using StereoBM then what is the best way to look for change detection in the scene? I've tried using MOG2 and other background models but in general...

View Article

Change pixel x,y location with mathematical function

As the title suggests, I have an image, whose pixels I want to move based on a mathematical function. The code I use right now is consisted of two loops. And because of the nested loop, the process...

View Article

OpenCV Python detect camera's trepidation

Hello, Is there a python code that can detect the trepidation of the camera? I have no idea how can I do it :( Any tip will be very helpful, Thanks

View Article


Training SVM for image recognition with BOW: error on prediction

Hello! **Context:** I am currently attempting to train a SVM to recognize a specific building in a scene vs. different buildings. After attempting simpler approaches like direct image feature matching...

View Article

Problem with drawmatches()

Hi there, I making logo detection program that uses the SIFT method to detect a logo on image. The latest version of code is #include <core.hpp>#include <highgui.hpp>#include...

View Article


Understanding capability of camera with two lenses: measuring speed & distance?

Assume you have a camera with two lenses and you want to measure the distance a golf ball traveled, up to 1000 feet. Also assume the camera system offers a HFOV of 180 degrees. 1) What are the...

View Article

How do you detect cluster point in an image

You have identified descriptors and doing template matching. Now there are matched point in the template.

View Article


can Bag of words + SVM identify banknote denomination?

This is for money identifier for the visually impaired

View Article

How to build opencv with specific modules?

Hi, my project involves image processing and ml in python. I have to zip everything up into a bundle and upload it on aws lambda. When I zip the libraries this: zip -9 bundle.zip hello.py cd...

View Article

Delaunay triangulation - edge flip?

I used this code: http://www.learnopencv.com/delaunay-triangulation-and-voronoi-diagram-using-opencv-c-python/ for Delaunay triangulation, now I'm trying to figure out how to flip edges like this:...

View Article
Browsing all 19555 articles
Browse latest View live


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