pattern-recognition

How do I list out all English terms in a sentence that indicate an animal?

好久不见. 提交于 2020-01-04 03:16:08
问题 For example, in the sentence " The two horses had just lain down when a brood of ducklings, which had lost their mother, filed into the barn, cheeping feebly and wandering from side to side to find some place where they would not be trodden on. ", there are two animals: horse and duck. I was looking for vocabulary lists for animal names but was unable to get anything that's complete enough. The WordNet database looks promising but may be overkill and not broad enough either. 回答1: WordNet is

Hough Transform Algorithm for Text Detection in Images [closed]

微笑、不失礼 提交于 2020-01-02 10:23:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Hough Transform Algorithm is one of the algorithm use for text line detection and edge detection. Does Hough Transform Algorithm can be use for Detecting text in Images? What must be the process or implementation in java for this question? or It must be have another algorithm to

Rotation and scale invariant template matching in OpenCV [duplicate]

狂风中的少年 提交于 2019-12-31 16:48:10
问题 This question already has answers here : Closed 7 years ago . 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

Ways to calculate similarity

不羁岁月 提交于 2019-12-29 13:19:06
问题 I am doing a community website that requires me to calculate the similarity between any two users. Each user is described with the following attributes: age, skin type (oily, dry), hair type (long, short, medium), lifestyle (active outdoor lover, TV junky) and others. Can anyone tell me how to go about this problem or point me to some resources? 回答1: Another way of computing (in R) all the pairwise dissimilarities (distances) between observations in the data set. The original variables may be

Ways to calculate similarity

和自甴很熟 提交于 2019-12-29 13:18:52
问题 I am doing a community website that requires me to calculate the similarity between any two users. Each user is described with the following attributes: age, skin type (oily, dry), hair type (long, short, medium), lifestyle (active outdoor lover, TV junky) and others. Can anyone tell me how to go about this problem or point me to some resources? 回答1: Another way of computing (in R) all the pairwise dissimilarities (distances) between observations in the data set. The original variables may be

Recognize sound based on recorded library of sounds

谁都会走 提交于 2019-12-25 02:57:11
问题 I am trying to create an iOS app that will perform an action when it detects a clapping sound. Things I've tried: 1) My first approach was to simply measure the overall power using an AVAudioRecorder. This worked OK but it could get set off by talking too loud, other noises, etc so I decided to take a different approach. 2) I then implemented some code that uses a FFT to get the frequency and magnitude of the live streaming audio from the microphone. I found that the clap spike generally

Neural network doesn't return values below 0.5 with logsig

白昼怎懂夜的黑 提交于 2019-12-24 12:35:13
问题 I want to classify two classes with a neural network. Since outputs are 0 or 1, I am using (or trying t use) 'logsig' for the output function. My problem is that when I do that, my simulations end up being between 0.5 and 1. As if everything entering the logsig function was positive. PS: My training set and my testing set are composed of normalized values. Here is what I do: t = [0.8*ones(1,50) 0.2*ones(1,50)]; %define net net = newff(trainSet,t,n,{'tansig','logsig'},'trainscg'); net

Detect repetitive pixel patterns in an image and remove them using matlab

天涯浪子 提交于 2019-12-23 02:56:17
问题 I'm using Matlab R2017a and I have a RGB image (TIFF 128x128 uint16), shown below as a png image: Actual TIFF image: http://s000.tinyupload.com/index.php?file_id=13823805859248753003 As shown above, there's a repeating pattern of really light pixels (yellow and light blue). Because I'm using pixel data, the really light pixels are skewing my graphs, so I want to "neutralize" them. I looked everywhere but I couldn't find a clean pattern recognition/removal set of commands, so I ended up

How to detect text region from a document image?

自古美人都是妖i 提交于 2019-12-23 01:53:34
问题 I have a document image, which might be a newspaper or magazine. For example, a scanned newspaper. I want to remove all/most text and keep images in the document. Anyone know how to detect text region in the document? Below is an example. Thanks in advance! example image: https://www.mathworks.com/matlabcentral/answers/uploaded_files/21044/6ce011abjw1elr8moiof7j20jg0w9jyt.jpg 回答1: The usual pattern of object recognition will work here - threshold, detect regions, filter regions, then do what

Digit Recognition with Bayesian classes

自闭症网瘾萝莉.ら 提交于 2019-12-21 16:46:34
问题 I need to write an OCR program for digits only. I will use MNIST datasets. The problem is I do not know where to start. There are a lot of papers which doesn't really explain the algorithm. I don't really have much knowledge about pattern recognition. So I have a few questions. Q1 : Where can I find the algorithm (or a tutorial) Q2 : How do I classify digits? I don't need very advanced things. First thing that comes to my mind is finding the ratio of upper half/lower half and left side/ right