image-recognition

error: (-215) !empty() in function detectMultiScale

时光怂恿深爱的人放手 提交于 2019-11-26 22:21:52
问题 I'm trying to learn cv2 in python 2.7, but when I run my code, in the specific part of it: face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml') img = cv2.imread('2015-05-27-191152.jpg') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) faces = face_cascade.detectMultiScale(gray, 1.3, 5) for (x,y,w,h) in faces: img = cv2.rectangle(img,(x,y),(x+w,y+h),(255,0,0),2) it returns this: File "face_detection.py", line 11, in

Algorithm to detect presence of text on image

蹲街弑〆低调 提交于 2019-11-26 22:07:08
With my new assignment I am looking for a method to detect the presence of text on image. The image is a map - can be for example google map. The task is to detect where the street/city label is placed. I know that opencv library has algorithm that can detect features (for example human faces) - haar classifier or hog (histogram of oriented gradients), but I heard that learning process of such algorithms is quite difficult. Do you know of any algorithm, method or a library that could do that (detect presence of text on image)? Thanks, John There is a standard problem in vision called text

C# - Black points recognition from a photo

好久不见. 提交于 2019-11-26 21:59:39
问题 I have some photos of white pages with some black points drawn on, like this: photo (the points aren't very circular, I can draw them better), and I would find the coordinates of these points. I can binarize the images (the previous photo binarized: image), but how can I find the coordinates of these black points? I need only the coordinates of one pixel for each point, the approximate center. This is for a school assignment. 回答1: The basics for processing image data can be found in other

Image similarity comparison

一个人想着一个人 提交于 2019-11-26 19:29:18
问题 I originally asked this question on cstheory.stackexchange.com but was suggested to move it to stats.stackexchange.com. Is there an existing algorithm that returns to me a similarity metric between two bitmap images? By "similar", I mean a human would say these two images were altered from the same photograph. For example, the algorithm should say the following 3 images are the same (original, position shifted, shrunken). Same I don't need to detect warped or flipped images. I also don't need

Logo recognition in images [closed]

时光总嘲笑我的痴心妄想 提交于 2019-11-26 18:07:50
Does anyone know of recent academic work which has been done on logo recognition in images? Please answer only if you are familiar with this specific subject (I can search Google for "logo recognition" myself, thank you very much). Anyone who is knowledgeable in computer vision and has done work on object recognition is welcome to comment as well. Update : Please refer to the algorithmic aspects (what approach you think is appropriate, papers in the field, whether it should work(and has been tested) for real world data, efficiency considerations) and not the technical sides (the programming

Recognize Black patterns appearing on the four corners of the image ios using opencv or some other technique

别等时光非礼了梦想. 提交于 2019-11-26 14:32:41
问题 I am stuck with a problem that is how to recognize some patterns in image. the image is the image of paper which is pure white and the patterns are in four corners are in black. I want to recognize the black patterns on the image? I surf a lot on the net and found that the opencv as a answer. but there is nothing provided that describe how to use opencv in order to achieve the required feature. Please help me with some coding point of view or provide some link which I should follow or any

Algorithm to compare two images

和自甴很熟 提交于 2019-11-26 11:57:47
Given two different image files (in whatever format I choose), I need to write a program to predict the chance if one being the illegal copy of another. The author of the copy may do stuff like rotating, making negative, or adding trivial details (as well as changing the dimension of the image). Do you know any algorithm to do this kind of job? Tom Gullen These are simply ideas I've had thinking about the problem, never tried it but I like thinking about problems like this! Before you begin Consider normalising the pictures, if one is a higher resolution than the other, consider the option

Are there any OK image recognition libraries for .NET?

自闭症网瘾萝莉.ら 提交于 2019-11-26 11:47:00
问题 I want to be able to compare an image taken from a webcam to an image stored on my computer. The library doesn\'t need to be one hundred percent accurate as it won\'t be used in anything mission critical (e.g. police investigation), I just want something OK I can work with. I have tried a demonstration project for Image Recognition from CodeProject, and it only works with small images / doesn\'t work at all when I compare an exact same image 120x90 pixels (this is not classified as OK :P ).

Detection of coins (and fit ellipses) on an image

纵饮孤独 提交于 2019-11-26 11:03:51
I am currently working on a project where I am trying to detect a few coins lying on a flat surface (i.e. a desk). The coins do not overlap and are not hidden by other objects. But there might be other objects visible and the lighting conditions may not be perfect... Basically, consider yourself filming your desk which has some coins on it. So each point should be visible as an Ellipse. Since I don't know the position of the camera the shape of the ellipses may vary, from a circle (view from top) to flat ellipses depending on the angle the coins are filmed from. My problem is that I am not

Algorithm to detect presence of text on image

烈酒焚心 提交于 2019-11-26 08:12:48
问题 With my new assignment I am looking for a method to detect the presence of text on image. The image is a map - can be for example google map. The task is to detect where the street/city label is placed. I know that opencv library has algorithm that can detect features (for example human faces) - haar classifier or hog (histogram of oriented gradients), but I heard that learning process of such algorithms is quite difficult. Do you know of any algorithm, method or a library that could do that