Ask Your Question

prasad1250's profile - activity

2020-10-28 01:27:06 -0600 received badge  Nice Question (source)
2015-10-19 05:16:15 -0600 received badge  Student (source)
2012-12-27 15:17:16 -0600 received badge  Editor (source)
2012-12-27 15:13:10 -0600 answered a question ios error "OpenCV was built without SURF support"

Make sure you whether if u have imported features2d.cpp file into your interface file.

2012-12-27 15:10:31 -0600 answered a question opencv 2.4.9 Linker errors while working on IOS


Instead of using CvVideoCamera you can make use of AVFoundationFramework+Opencv to achieve the same goal.

Please find the code in the below link.

2012-12-27 15:00:52 -0600 answered a question Highlight the Squares in an Image using OpenCV for iOS

Its pretty simple.

Just pass your gray scale image through findContours method. This method will return all the contours found in ur image.

Then iterate through the returned set of contours and apply approxPolyDP() for each set of contours in the set.

Check if the output size of the output from approxPolyDP is equal to 4.

If yes, then it means that it has found a square/rectangle in the given image.

Hope you got an idea.

2012-12-27 14:54:16 -0600 asked a question cv::findContours, unable to find contours


Below is the image that i'm able to capture through the video camera. But when i process this image withcv:: findcontours method in ios, it is unable to detect the contours in the image.

Can anyone help me with this issue.

image description