pattern-recognition

Best way to recognize characters in screenshot?

白昼怎懂夜的黑 提交于 2019-12-03 08:35:33
问题 What would you recommend for recognizing all characters from a screenshot? The screenshot is perfectly clear (only black text on a white background), also I can choose any standard font for the text (installed on Windows). I have tried some OCR ways (Tesseract and such), but it made mistakes in recognizing some characters (that baffled me, as the text is without slightest noise, and the fonts were some most common ones - Courier New, Fixedsys etc.), and I need it to be 100% accurate. Is there

Determining which are the text and graphic regions in an image

雨燕双飞 提交于 2019-12-03 08:10:13
I dont know whether should I post this question here or not? But if someone knows it, please answer? What are the algorithms for determining which region in an image is text and which one is graphic? Means how to separate such regions? (figure or diagram) Most OCR software, e.g., Ocropus , support layout analysis, which is what you need. Mao, Rosenfeld & Kanungo (2003) Document structure analysis algorithms: a literature survey provides a fairly recent survey of layout analysis algorithms. first step would probably be to isolate the sharper contrast between text and image. This can be done by

Finding repeating patterns/images in images

拥有回忆 提交于 2019-12-03 07:58:15
问题 I've been looking around for some papers (or info) on this topic. To avoid a misunderstanding: I'm not talking about finding a supplied pattern in multiple locations. Repeating patterns can also be understood to mean repeating images. The definition of pattern here isn't abstract. Imagine, for instance, a brick wall. The wall is composed of individual bricks. A picture of the wall is composed of the repeating image of a brick. The solution must preferably find the largest repeating pattern.

How to find patterns (lines, circles,…) from a list of points?

倖福魔咒の 提交于 2019-12-03 07:36:13
问题 I have a list of points. Each point being an x and y coordinate (both of which are integers). Now I'm trying to find known patterns, such as lines, arcs or circles, knowing that the points are not perfectly on the pattern. What's the best way to do it? I don't have many clues to get started. Edit: the points are ordered. The user is drawing something and the program should detect the best patterns. For instance, if a triangle is drawn, it should detect three lines. 回答1: take a look at Hough

How would you group/cluster these three areas in arrays in python?

一个人想着一个人 提交于 2019-12-03 05:55:20
问题 So you have an array 1 2 3 60 70 80 100 220 230 250 For a better understanding: How would you group/cluster the three areas in arrays in python(v2.6), so you get three arrays in this case containing [1 2 3] [60 70 80 100] [220 230 250] Background: y-axis is frequency, x-axis is number. These numbers are the ten highest amplitudes being represented by their frequencies. I want to create three discrete numbers from them for pattern recognition. There could be many more points but all of them

Synchronizing text and audio. Is there a NLP/speech-to-text library to do this?

安稳与你 提交于 2019-12-03 05:09:47
问题 I would like to synchronize a spoken recording against a known text. Is there a speech-to-text / natural language processing library that would facilitate this? I imagine I'd want to detect word boundaries and compute candidate matches from a dictionary. Most of the questions I've found on SO concern written language. Desired, but not required: Open Source Compatible with American English out-of-the-box Cross-platform Thoroughly documented Edit: I realize this is a very broad, even naive,

Which algorithm should I use for signal (sound) one class classification?

点点圈 提交于 2019-12-03 04:30:50
问题 Update this question was previously titled as " Give me the name of a simple algorithm for signal(sound) pattern detection " My objective is to detect the presence of a given pattern in a noisy signal. I want to detect the presence of a species of insect recording the sounds with a microphone. I have previously recorded the sound of the insect in a digital format. I am not trying to do voice recognition. I am already using convolution between the input signal and the pattern to determine

Recognizing patterns when drawing over the iPhone screen

不打扰是莪最后的温柔 提交于 2019-12-03 03:55:23
I'm trying to write a game where the user can issue commands by drawing certain patterns with his fingers..for example, if he draws a circle, an 'S' letter, an expiral, etc. I'm already familiar with touch events and I'm capable of reading the coordinates... my problem Is in finding algorithms and information about the recognition of the patterns with some degree of error.... for example, If I'm supposed to detect a circle I should detect it even if the user didn't did a make perfect one. Any resources in the matter?, thanks ! This site demos a very simple, easy to implement gesture recognizer

Rotation and scale invariant template matching in OpenCV [duplicate]

别等时光非礼了梦想. 提交于 2019-12-03 03:35:31
This question already has answers here : scale and rotation Template matching (3 answers) Possible Duplicate: scale and rotation Template matching I have a template grayscale image , with white background and black shape over it. I also have several similar test images which vary in rotation and in shape. The test images are not same as template but they are similar. I want to compare these two images and see if template matches , is most similar to, any of the test images. There are no distortions , no noise and no other defects in the images. Are there any tutorials on this topic ? krzych

Detecting an object on the image based on geometrical form

五迷三道 提交于 2019-12-03 03:21:48
问题 I have a basic understanding in image processing and now studying in-depth the "Digital Image Processing" book by Gonzales. When image given and object of interest approximated form is known (e.g. circle, triangle), what is the best algorithm / method to find this object on image? The object can be slightly deformed, so brute force approach will not help. 回答1: You may try using Histograms of Oriented Gradients (also called Edge Orientation Histograms). We have used them for detecting road