Ask Your Question

Phando's profile - activity

2019-07-08 12:54:27 -0500 received badge  Popular Question (source)
2014-11-28 02:37:03 -0500 received badge  Student (source)
2013-11-27 13:03:41 -0500 asked a question Can findContours returns strokes instead of oulines?

Hey All, I am using findContours to generate cubic beziers. The problem I am having, is that after going through the Canny filter, findContours is returning the contours to outline each edge found. If there is a circle for instance, I will get two contours almost exactly on top of one another. I assume these two contours are the representation of the thickness of the line from the Canny filter.

Is there a way to use the hierarchy or adjust the findContours call to return a single contour per edge?

2013-11-26 16:07:45 -0500 commented answer OpenCV setting iOS orientation

When I try implementing the code above, I get a warning about synthesizing the customPreviewLayer. In subsequent layoutPreviewLayer calls, customPreviewLayer is always nil. Do you have an example of this code being used?

2013-11-20 11:48:27 -0500 commented answer FindContours Precsision

Without floats findContours is still kinda awesome. Thanks for your help.

2013-11-20 11:47:48 -0500 received badge  Scholar (source)
2013-11-19 12:53:58 -0500 commented answer FindContours Precsision

Thanks for the quick response, Input quality equals output quality makes sense. The findContours function only accepts binary data, so messing with my images pre findContours has proven moot. I have changed my findContours method to CV_CHAIN_APPROX_TC89_L1 and tried calls to approxPolyDP with various epsilon values and still I am only seeing integers in my contours vector. Contours is a 2D vector of cvPoints. The only way I am able to see floats is to calculate my own cubic bezier control points. Even then the points generated from opencv are integers. Is there any way to get opencv to generate float values for contours?

2013-11-18 19:35:28 -0500 asked a question FindContours Precsision

Hey All, I am on iOS and trying to use FindContours to extract nice smooth lines from my images. Unfortunately it seems all the output from FindContrours is integer data. Is there something special I need to do in order to get float values from findContours? For all intents and purposes, you can assume my code looks just like the demo code: This Sample


2013-11-14 17:51:37 -0500 received badge  Editor (source)
2013-11-14 17:49:57 -0500 received badge  Supporter (source)
2013-11-14 17:49:37 -0500 answered a question How to compile OpenCV for iOS7 (arm64)

Same issue here. Have you made any progress?

A fix so you aren't blocked is to choose a non 64bit simulator until we figure out how to build for the new platforms.

2013-11-13 18:31:24 -0500 asked a question GPUImage and OpenCV

Hey ALl, So far I am loving OpenCV. It integrates well into my IOS app. In addition to OpenCV, I am using GPUImage. Have any of you used both libraries for processing the live preview from an IOS camera?

Currently I am thinking porting OpenCV's findContours to GPUImage is how to get my job done. On the other hand maybe porting GPUImage's GPUImageSobelEdgeDetectionFilter to OpenCV is the way to go.

If any of you have applied effects to live video I would love to see what you have done.