2020-08-16 20:53:23 -0600 | received badge | ● Popular Question (source) |
2016-06-29 04:35:05 -0600 | received badge | ● Nice Question (source) |
2015-07-07 04:20:38 -0600 | commented answer | Use OpenCV on Android without Manager Correct link - http://docs.opencv.org/doc/tutorials/... |
2015-07-06 08:58:41 -0600 | received badge | ● Student (source) |
2015-07-06 07:45:33 -0600 | asked a question | Detecting convex quadrilaterals on photo with strong noisy background My goal is to detect convex quadrilaterals on photo with some strong noisy background. There're plenty of articles & answers related to detecting of quadrilaterals on photo, but almost all of them are efficient only for some cases and useless in case of having some strong background. An example of such photo is below (in this photo I'm interested in only one quadrilateral - napkin): I use the following steps to detect quadrilaterals:
The issue here is that number of found contours is too big, but I need the only one (white napkin in my case), as a result findContours() is extremely slow. I've tried several approaches to improve this algorithm (reduce number of found contours):
These operations help a little bit, but at the same time they bring other issues. so the best result at the moment (with big blur, morphologyEx and scaling) is below and it is insufficient: It seems I made some mistakes, could you please advise how can I detect quadrilaterals in such cases? The goal is to be able to find quadrilaterals on different complex surfaces which contain other contours, like a brick wall. |