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

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 Article


How to select a contour on mouse click

Please explain the way for selecting a contour on mouse click

View Article


How 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 Article

Print 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 Article

OpenCV 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 Article


Shift 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 Article

classification 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 Article

Problem 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 Article


Background 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 Article


Difficulties 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 Article

Can'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 Article

How 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 Article

Any 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 Article


opencv 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 Article

Object 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 Article


OpenCV3 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 Article

Building 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 Article


openCV 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 Article

from 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 Article

openCV 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
Browsing all 2088 articles
Browse latest View live