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

how to know the area of the overlapping rectangles?

As a start i have the coordinates x1,y1 and x2,y2 of a rectangle, on the other hand i have a list of other coordinates for other rectangles. What i want to do is compare the value of the one i already...

View Article


Store calculation result from RGB in Vec3b into new matrix instead of Mat Object

Hi, I've been learning to work with image processing. I'm trying to access RGB value from a Mat image : Mat picture = imread("picture.png", CV_LOAD_IMAGE_COLOR); int rows = picture.rows; int cols =...

View Article


Is opencv viz is seperate module

When i try to run the opencv examples from the below link https://docs.opencv.org/3.3.1/d7/df9/tutorial_table_of_content_viz.html It is giving below error. Please help me solve the error. Severity...

View Article

do not lose image quality

Hello, can someone help me, I need to apply a filter before doing a resize () to my image, to not lose pixels and image quality, what filter can I use? Thank you

View Article

I am getting line an error-215 while training an SVM with OpenCV-Python

In line 100, in svm.train(train_data,cv.ml.ROW_SAMPLE,train_labels) cv2.error: D:\Build\OpenCV\opencv-3.4.0\modules\ml\src\data.cpp:259: error: (-215) samples.type() == 5 || samples.type() == 4 in...

View Article


Is it possible to give form/shape to human stickman with 2D points (coordinates)

I'm able to create a stickman with 2D coordinate json file using Python OpenCV. And also able to create video with multiple position of 2D coordinates files. Generated Stickman example Image as...

View Article

Optimize the video capture

Hello, I try on a raspery to make a loop that capture the video from a webcam and then display the resulting frames on a screen. But the loop is slow. How to accelerate the loop in OpenCV that capture...

View Article

OpenCv3.3 build is failing

hi everyone, I was trying to build open cv 3.3 on my raspberry pi 3 which has rasbian os installed. But my build is failing at 81 percent. please find the log bellow. [ 81%] Building CXX object...

View Article


Hand recognition and tracking question.

My project needs hand recognition and tracking. I understand the difficulties of hand recognition and I would like some solutions and papers that deal with this complex problem. But what I currently...

View Article


Matrix Multiplication Type Issue

I'm trying to do color conversion from RGB into LMS and multiply the matrix using reshape. void test(const Mat &ori, Mat &output, Mat &pic, int rows, int cols) { Mat lms(3, 3, CV_32FC3);...

View Article

after "17. right-click on INSTALL and build it" successfully, I still can't...

I use window 10 x64 , python 3.6.2, Microsoft Visual Studio community 2017, cmake 3.10.0 I want to Building OpenCV from source with extra modules. So I follow the tutorial from...

View Article

Orthogonal projection of images using camera calibration parameters

I am trying to get a perfect birds eye view of a component using camera calibration using opencv and python. The image I have is already a bird's eye view of the component. I am just trying to align...

View Article

Unknown layer type FIFOQueueV2 in op batch/fifo_queue in function populateNet

I have ran the code freeze_graph.py and optimize_for_inference.py,and there is a final_network.pb generated, when I imported the final_network.pb in DNN with opencv,there is something wrong like this:...

View Article


VideoCapture so slow in reading video file.

Why is it if i read a video file using cv2.VideoCapture('video.avi') the fps is very very very low? I want the fps to be the same as when i play the video using a video player(30fps). What changes...

View Article

Convert Mat to normalized float array

Hello, I am trying to use opencv on android to detect objects and then to pass these objects to trained tensorflow model. The problem is that my tensorflow model needs float array of the image on the...

View Article


How to evaluate a cascade classifier?

I used the code of OpenCVBlueprints to plot the pr curve :...

View Article

Keeping count of duration a specific contour is identified in OpenCV

I am currently working on a shape identification snippet and need to keep track of the duration of which the particular shape is identified on my screen - i.e. a pseudo confidence level of an object...

View Article


[SOLVED]Multiple Laser Detection : OPENCV + Qt

Hello, I have a project wherein I need to detect multiple lasers that are PWM controlled. I have 10 lasers each with unique pulse widths. The camera frame rate is 200fps. I am doing the following . a....

View Article

Assigning unique identifier to shapes in real-time

Dear all, Suppose I wish to keep track of multiple shapes that is detected via approxPolyDP in **real-time** (example: there are 3 individual triangles). How could I go about naming those triangles 1,...

View Article

Failed to implement lkdemo on iOS

I tried to implement lkdemo's cpp example in iOS, and got reference from [thorrson's lkdemo](https://github.com/manikal/thorrson/blob/master/Thorrson/ViewController.mm). I just use...

View Article
Browsing all 4615 articles
Browse latest View live


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