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

My train cascade can not detect anything

I followed some tutorials on the internet and can not recognize any object. I started with a calculator and now I'm trying with the raspberry pi logo on his box. I got to stage 14 and did not...

View Article


warpPerspective With two cams

Hello to all, I'm here to ask for advice. I have two cams that resume the same thing. A cam has a filter that only passes light ir. The other cam is a normal cam that does not pass the light ir. I use...

View Article


Visual Studio cannot include my .hpp files

I am trying to configure OpenCV 2.4.13 with Visual Studio 2013. No matter what I do i am not able to include my header files. Errors ![image description](/upfiles/14983775626995391.png) ![image...

View Article

stitch function is not stitching all the input images

I am using stitch function to stitch all the overlapped images to create a panorama view.But only some images are getting stitched, not all. ![image description](/upfiles/1498455864371387.jpg) ![image...

View Article

cv2 threshold flags

What is the difference between `cv2.threshold(gray, 0, 255,cv2.THRESH_BINARY | cv2.THRESH_OTSU)` and `cv2.threshold(gray, 0, 255,cv2.THRESH_BINARY + cv2.THRESH_OTSU)` ? # Otsu's thresholding gray =...

View Article


opencv make failed with cuda support : undefined reference to...

I make opencv 2.4.10 + cuda , however get the followed error ![image description](/upfiles/1498471599749490.png) I also find the same error by google...

View Article

cv2 finding contours

I am working on satellite images to mask out the rooftop area from houses and buildings. Applying histogram equalization on the image and then applying the watershed algorithm to mask out the...

View Article

How does Pyramid Mean Shift Filtering helps in finding better threshold?

shifted = cv2.pyrMeanShiftFiltering(image, 21, 51) gray = cv2.cvtColor(shifted, cv2.COLOR_BGR2GRAY) thresh = cv2.threshold(gray, 0, 255,cv2.THRESH_BINARY | cv2.THRESH_OTSU)

View Article


Contour detection for gray stickers on white background.

Hi all, I want to detect the outline (contour) of gray and orange colored post-it stickers (16:9 size and might be rotated) like the photo I attached but I'm having a difficulty achieving this because...

View Article


OpenCV : Judge .bmp image

My boss told me to create program to judge an image. And the type of the image is to be .bpm, not .jpg or .png, and give a Number as an output. The image is like this: OK ![image...

View Article

find contours miss some objects

I use the following code to read through all objects that I segmented from my image which should be ordered in row and columns as semi-circle (because of segmentation and morphological processing for...

View Article

accessing row and col pixel array

![image description](/upfiles/14986388579139485.png) ![image description](/upfiles/14986388734666249.png) for (int j = 0; j(j, i) < 100) //change color less than 100 { image.at(j, i) = 255; // make...

View Article

Android VideoCapture File Format and Alternatives

Hi all, I'm trying to create an android application that will frame-by-frame process video files taken with a phone camera (.mp4) with openCV. Having looked at previous questions on this subject, I...

View Article


OpenCV Mat explained

I am reading through how the image data is stored in the matrices format, [this](https://ch.mathworks.com/company/newsletters/articles/how-matlab-represents-pixel-colors.html) explains it very...

View Article

Speeding up my code for object recognition

I am working on a multi-object recognition program. I have succeeded recognising two objects. However, the speed of my program is really slow and laggy. Can somebody please tell a way to speed the...

View Article


Basic add and subtract on different size image

First i want to appologize. I`m new to opencv. currently I try to practice with basic stuff. i try to add and subtract 2 image First Image : ![image description](/upfiles/14987027045258617.jpg) Second...

View Article

FACE_RECOGNITION MODULE WAS NOT INSTALLED PLEASE HELP ME TO INSTALL THIS MODULE

C:\Users\DEVI>pip install face_recognition Collecting face_recognition Using cached face_recognition-0.1.14-py2.py3-none-any.whl Collecting dlib>=19.3.0 (from face_recognition) Using cached...

View Article


How to Use formula in c++ opencv

I have 3 formula, (P and S is the same picture that taken with different method) 1. P/S 2. P/(P+S) 3. |P-S|/|P+S| Image P ![image description](/upfiles/14987185368168964.bmp) Image S ![image...

View Article

Histogram Equalization not working

I am trying histogram equalization but its giving me the same image as the input. It seems like histogram equalization is having no impact. Can anyone tell where am I going wrong? private static Mat...

View Article

Why This color.cpp:9748: error: (-215) scn == 3 || scn == 4 in function...

Traceback (most recent call last): File "C:\Users\DEVI\Desktop\pratapimage\newocr.py", line 40, in print get_string(src_path + "mbakogu.jpg") File "C:\Users\DEVI\Desktop\pratapimage\newocr.py", line...

View Article
Browsing all 4615 articles
Browse latest View live


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