image-recognition

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 do I find a rectangle in a photo using iphone?

ぐ巨炮叔叔 提交于 2019-12-03 07:32:22
I will need to identify, rotate and crop a rectangle(business card) from a photo took from an iphone. I believe this can be done by using OpenCV, but I have not used it before. Could anyone give some tips on this? See opencv sample code OpenCV2.2\samples\cpp\squares.cpp . They do the following: Detect edges using Canny Retrieve contours by findContours For each contour approximate contour using approxPolyDP to decrease number of vertices if contour has 4 vertices and each angle is ~90 degrees then yield a rectangle From iOS 8 , you can now use the new detector CIDetectorTypeRectangle that

CNN Image Recognition with Regression Output on Tensorflow

烈酒焚心 提交于 2019-12-03 07:26:00
问题 I want to predict the estimated wait time based on images using a CNN. So I would imagine that this would use a CNN to output a regression type output using a loss function of RMSE which is what I am using right now, but it is not working properly. Can someone point out examples that use CNN image recognition to output a scalar/regression output (instead of a class output) similar to wait time so that I can use their techniques to get this to work because I haven't been able to find a

Pre-processing before digit recognition with KNN classifier

淺唱寂寞╮ 提交于 2019-12-03 06:42:07
Right now I'm trying to create digit recognition system using OpenCV. There are many articles and examples in WEB (and even on StackOverflow ). I decided to use KNN classifier because this solution is the most popular in WEB. I found a database of handwritten digits with a training set of 60k examples and with error rate less than 5%. I used this tutorial as an example of how to work with this database using OpenCV. I'm using exactly same technique and on test data ( t10k-images.idx3-ubyte ) I've got 4% error rate. But when I try to classify my own digits I've got much bigger error. For

Recognizing an image from a list with OpenCV SIFT using the FLANN matching

99封情书 提交于 2019-12-03 06:23:23
问题 The point of the application is to recognize an image from an already set list of images. The list of images have had their SIFT descriptors extracted and saved in files. Nothing interesting here: std::vector<cv::KeyPoint> detectedKeypoints; cv::Mat objectDescriptors; // Extract data cv::SIFT sift; sift.detect(image, detectedKeypoints); sift.compute(image, detectedKeypoints, objectDescriptors); // Save the file cv::FileStorage fs(file, cv::FileStorage::WRITE); fs << "descriptors" <<

How to locate multiple objects in the same image?

[亡魂溺海] 提交于 2019-12-03 06:21:00
问题 I am a newbie in TensorFlow. Currently, I am testing some classification's examples "Convolutional Neural Network" in the TensorFlow website, and it explains how to classify input images into pre-defined classes, but the problem is: I can't figure out how to locate multiple objects in the same image. For example, I had an input image with a cat and dog and I want my graph to display in the output that there are both of them "a cat and a dog" in the image. 回答1: Great question. Detecting

free OCR processing API in PHP/jQuery/JavaScript [closed]

廉价感情. 提交于 2019-12-03 05:09:40
问题 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 5 years ago . Is there any free PHP OCR API, that is well documented in PHP, jQuery or JavaScript? I'm programming a web app for iOS and I'd like to utilize the new photo upload API in iOS 6 safari to use for OCR image processing. Thanks a ton! :) ( Edit: Oh and a Google-Googles like API for image recognition would also

How can I detect basic 2D geometric shapes (e.g. square, triangle, circle) on a JPEG image?

不想你离开。 提交于 2019-12-03 03:04:52
After taking a picture, I'm trying to detect the shape of the object that is shot. What I'm looking for is similar to face detection, except I want the app to detect shapes instead of faces. I'm creating an Android app using Java and the android SDK. Any Ideas on what libraries or resources I can access to do this sort of thing? I'd use the edge detection filter in marvin processing. http://marvinproject.sourceforge.net/en/plugins/edgeDetector.html Then go through the pixels, seach for dark pixels in the vicinity and store the lines you have found. Then you can check for intersections in the

CNN Image Recognition with Regression Output on Tensorflow

落花浮王杯 提交于 2019-12-02 22:09:51
I want to predict the estimated wait time based on images using a CNN. So I would imagine that this would use a CNN to output a regression type output using a loss function of RMSE which is what I am using right now, but it is not working properly. Can someone point out examples that use CNN image recognition to output a scalar/regression output (instead of a class output) similar to wait time so that I can use their techniques to get this to work because I haven't been able to find a suitable example. All of the CNN examples that I found are for the MSINT data and distinguishing between cats

Recognizing an image from a list with OpenCV SIFT using the FLANN matching

独自空忆成欢 提交于 2019-12-02 20:56:52
The point of the application is to recognize an image from an already set list of images. The list of images have had their SIFT descriptors extracted and saved in files. Nothing interesting here: std::vector<cv::KeyPoint> detectedKeypoints; cv::Mat objectDescriptors; // Extract data cv::SIFT sift; sift.detect(image, detectedKeypoints); sift.compute(image, detectedKeypoints, objectDescriptors); // Save the file cv::FileStorage fs(file, cv::FileStorage::WRITE); fs << "descriptors" << objectDescriptors; fs << "keypoints" << detectedKeypoints; fs.release(); Then the device takes a picture. SIFT