How to clear all bordered text and get clear text?
I have a document image which have text inside rectangle, i need to clear read the text with tesseract, but the problem is, as long as border there, tesseract cant read it well. ![boxed...
View ArticleHow to select a contour on mouse click
Please explain the way for selecting a contour on mouse click
View ArticleHow to stitch images by openCV with masks? (Only stitch parts of images)
I was trying to stitch images with OpenCV stitcher. Some of the feed in images have some black areas left by previous processing and they cause some trouble while stitching. [First image][1] [Second...
View ArticlePrint specifics data/index object detected the same classes id in Array
I am working object detection implemented in Python, atfter detected the output example of multidimention array below, based on each classis will be represented [x,y,width, height]: [[2433 1629 2656...
View ArticleOpenCV MSER detection issue
I'm trying to separate the detected objects into images but since the MSER method are detecting too many times the boundaries when i save into images i get a lot of repetetive images. This is the image...
View ArticleShift Rectangle up using Python?
Here's what I'm using to draw the rectangle cv2.rectangle(img,(x,y), (x+w,y+h),(0,255,255),5) I want to move the rectangle upward by some pixels. How do I do that?
View Articleclassification with bag of visual word in python
I'm trying to classify different dog races using opencv and visual bag of word technique. I'm new in the field and I wondering 3 questions about the approach. 1. I have seen code example where the...
View ArticleProblem with building opencv_contrib
##### System information (version) - OpenCV => 3.4.1 - Operating System / Platform => macOS High Sierra - Compiler => Apple Clang 9.1.0.9020039 ##### Detailed description I get these two...
View ArticleBackground subtraction for vein detection
Hello I'm ansking about this topic again, but in another way. I'm currently working in a project in that I have to do a vein detector using IR images, to achieve a better segmentation with my teacher...
View ArticleDifficulties getting projectPoints to work, returns weird values
I'm having trouble getting projectPoints to work. I've calibrated the camera and used solvPNP as in this tutorial: https://longervision.github.io/2017/03/20/opencv-internal-calibration-circle-grid/ The...
View ArticleCan't input Support vectors to HogDescriptor (opencv/python)
I want to input SVM model to cv2.HogDescriptor. here is my code svm = trainSVM() #load image and train cv2.ml.svm rho, _, _ = svm.model.getDecisionFunction(0) hog =...
View ArticleHow to make OpenCV immune to changes in light?
I keep working on monitoring code and I can't find a good way to compare images. Best I've got so far is nrmse but nrmse doesn't do well when sun hides behind clouds. What is the best approach to...
View ArticleAny way to disable OPENGL with imshow?
I am trying to use imshow without opengl support in python which has been pre-compiled with the libraries I am using and unfortunately I have not control over the computer I'm on, so opengl does not...
View Articleopencv 3.3.1 python linemod: how to add templates
0 down vote favorite today it try to use the linemod algorithm which is part of OpenCV. In an earlier C++ project I already use linemod and it works like it is described in the documentation, but this...
View ArticleObject counting works not correct, why? python with opencv
Hello, I've got huge problem, I need to calculate the centers of the objects(coin), but when objects are close to each other, and they touching each other, center is calculated as coomon to more than...
View ArticleOpenCV3 threshold question (cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1]
Hi... I am using OpenCV3 with Python and want to know what exactly happens when I use: thresh = cv2.threshold(frame,100, 255, cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1] to threshold frames of a video,...
View ArticleBuilding OpenCV on Raspberry Pi fails
Hi, i used this tutorial for installing OpenCv with Contrib modules on my Raspberry Pi 3 model 2: http://www.life2coding.com/install-opencv-3-4-0-python-3-raspberry-pi-3/ but it fails at 65%. I use...
View ArticleopenCV online Camera
Hello. I'm trying to make face recognition and i did it in my laptop camera . Now i have cameras connected to the DVR . So i need to connect to them by my app to see my cameras even if i connect to...
View Articlefrom App to html Live Stream
Hello... i have connect my camera to python app by VideoCapture and its work fine and i made some image processing to the video ... so i'm asking how can i after finish from image processing make a...
View ArticleopenCV detect arc python
Hi all! I have this Image https://imgur.com/a/ygIAaYP And I need do detect these 2 arcs of circumference (see the img below) because of I need to inspect the histogram region beetween these 2 arcs....
View Article