image-recognition

Logo detection using OpenCV

独自空忆成欢 提交于 2019-11-27 16:32:38
问题 I'm attempting to implement an easter egg in a mobile app I'm working on. These easter egg will be triggered when a logo is detected in the camera view. The logo I'm trying to detect is this one: . I'm not quite sure what the best way to approach this is as I'm pretty new to computer vision. I'm currently finding horizontal edges using the Canny algorithm. I then find line segments using the probabilistic Hough transform. The output of this looks as follows (blue lines represent the line

2D Shape recognition algorithm - looking for guidance [closed]

末鹿安然 提交于 2019-11-27 13:05:34
问题 I need the ability to verify that a user has drawn a shape correctly, starting with simple shapes like circle, triangle and more advanced shapes like the letter A. I need to be able to calculate correctness in real time, for example if the user is supposed to draw a circle but is drawing a rectangle, my hope is to be able to detect that while the drawing takes place. There are a few different approaches to shape recognition, unfortunately I don't have the experience or time to try them all

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

混江龙づ霸主 提交于 2019-11-27 13:00:00
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 <module> faces = face_cascade.detectMultiScale(gray, 1.3, 5) cv2.error: /home/arthurckl/Desktop/opencv

Python OCR library or handwritten character recognition engine [closed]

人走茶凉 提交于 2019-11-27 11:59:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Could you recommend some python libraries or source code for OCR and handwritten character recognition? 回答1: Have you tried pytesser? 来源: https://stackoverflow.com/questions/1708779/python-ocr-library-or-handwritten-character-recognition-engine

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

僤鯓⒐⒋嵵緔 提交于 2019-11-27 09:09:58
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 name of any open source library which I should use to achieve this feature. The image for pattern is below

OpenCV logo recognition

此生再无相见时 提交于 2019-11-27 07:20:20
问题 I was asked to recognize logo in an image using opencv. The lecturer told me that I don't have to do logo detection but logo recognition only. I am using opencv in c++. Can I know the easiest way to do it?? Ps: newbie in computer vision. 回答1: It largely depends on your kind of images. If your logo occupies say 90% of the image, you don't need detection, since you are probably good with color histograms. If the logo is small compared to the image, you should "find" the logo, in order to focus

Are there any OK image recognition libraries for .NET?

北战南征 提交于 2019-11-27 05:54:50
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 ). Has there been any success with image recognition before? If so, would you be able to provide a link to a

What are the correct usage/parameter values for HoughCircles in OpenCV for Iris detection?

爷,独闯天下 提交于 2019-11-27 05:07:44
问题 I've been reading about the subject but cannot get the idea in "plain English" about the usage and parameters for HoughCircles (specially the ones after CV_HOUGH_GRADIENT ). What's an accumulator threshold? Are 100 "votes" a right value? I could find and "mask" the pupil, and worked my way through the Canny function, but I'm struggling beyond that and my problem is the HoughCircles function. There seems to be failing at finding the Iris' circle and I don't know why. And this is the function I

java framework for image pattern recognition?

£可爱£侵袭症+ 提交于 2019-11-27 00:47:41
问题 I'm looking for a Java framework to help with some data mining specific to images. We have a set of historical images that I would like to categorize and classify. I'm was hoping to find something like weka http://www.cs.waikato.ac.nz/ml/weka/ or Marsyas http://marsyas.sness.net but more specific to sifting through image data to find patterns. Any suggestions? 回答1: What about using the OpenCV library for Processing? Technically, Processing is not Java, but it runs on the JVM and shouldn't be

Finding a picture in a picture with java?

你离开我真会死。 提交于 2019-11-27 00:30:35
问题 what i want to to is analyse input from screen in form of pictures. I want to be able to identify a part of an image in a bigger image and get its coordinates within the bigger picture. Example: would have to be located in And the result would be the upper right corner of the picture in the big picture and the lower left of the part in the big picture. As you can see, the white part of the picture is irrelevant, what i basically need is just the green frame. Is there a library that can do