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 ArticlewarpPerspective 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 ArticleVisual 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    I also find the same error by google...
View Articlecv2 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 ArticleHow 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 ArticleContour 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 ArticleOpenCV : 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   for (int j = 0; j(j, i) < 100) //change color less than 100 { image.at(j, i) = 255; // make...
View ArticleAndroid 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 ArticleOpenCV 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 ArticleSpeeding 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 ArticleBasic 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 :  Second...
View ArticleFACE_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 ArticleHow 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 S ![image...
View ArticleHistogram 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 ArticleWhy 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