tag:blogger.com,1999:blog-8183154932516295815.post5458768447650232016..comments2024-03-23T10:30:15.029+05:30Comments on OpenCV-Python: Contours - 4 : Ultimateabidkhttp://www.blogger.com/profile/02551137580063586047noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8183154932516295815.post-8928902457546598122012-11-14T21:25:22.920+05:302012-11-14T21:25:22.920+05:30Abid,
your tutorial helped me a lot! :)
Thx for y...Abid,<br /><br />your tutorial helped me a lot! :)<br />Thx for your effort!<br /><br />BalazsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-15736090763160081702012-07-07T01:29:20.721+05:302012-07-07T01:29:20.721+05:30ok, I'll try that. thank you.ok, I'll try that. thank you.dip4fishhttps://www.blogger.com/profile/05066415536314734892noreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-6286593212418503132012-07-07T01:07:28.284+05:302012-07-07T01:07:28.284+05:30Hi,
If I understood your question correctly, you ...Hi,<br /><br />If I understood your question correctly, you want to avoid detecting very close defects. Well, it can't be shutdown inside the function, but when you mark the convexity defects on your image, you can put a constraint that distance to farthest point should be more than a minimum threshold value, Otherwise neglect that point or remove it from the set of defect points.abidkhttps://www.blogger.com/profile/02551137580063586047noreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-13056492873581863212012-07-06T22:41:36.647+05:302012-07-06T22:41:36.647+05:30Thank you,
I can test your examples now with OpenC...Thank you,<br />I can test your examples now with OpenCV 2.4.2. I am a bit surprised by the behaviour of convexityDefects(), the function detects points very close to the convex hull (http://dip4fish.blogspot.fr/2012/07/convexity-defects-in-cluster-of-mouse.html), would you have an idea to fix this?dip4fishhttps://www.blogger.com/profile/05066415536314734892noreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-69457154413056395562012-07-05T20:16:52.703+05:302012-07-05T20:16:52.703+05:30Most Welcome. I am using OpenCV 2.4.1 (which was l...Most Welcome. I am using OpenCV 2.4.1 (which was latest when I wrote this tutorial). But now, 2.4.2 is released. But I think in Ubuntu, still repo uses 2.3.1.<br /><br />Since my Ubuntu is 64-bit, i have some problem with the Python bindings, which is supposed to support only 32-bit python. So at present, I use it in Windows only.abidkhttps://www.blogger.com/profile/02551137580063586047noreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-61855904622841914922012-07-04T21:35:03.553+05:302012-07-04T21:35:03.553+05:30Which version of opencv are you using? I can't...Which version of opencv are you using? I can't find cv2.convexityDefects (ubuntu 12.04+python 2.7+opencv 2.3.1).<br /><br />Thanks for your tutorials.dip4fishhttps://www.blogger.com/profile/05066415536314734892noreply@blogger.com