2019-11-03 15:52:13 -0600 | received badge | ● Notable Question (source) |
2018-06-21 09:01:22 -0600 | received badge | ● Popular Question (source) |
2016-04-25 01:35:31 -0600 | received badge | ● Nice Question (source) |
2015-06-25 01:42:46 -0600 | asked a question | OpenCV Error: Assertion failed in watershed While learning about OpenCV I came across the topic of segmentation, and found a thread here. I tried my hand at the provided answer and got the following error,
And couldn't figure out a solution as I'm new to this topic. Any suggestions/solutions please? |
2015-06-16 00:31:10 -0600 | received badge | ● Enthusiast |
2015-06-09 06:36:49 -0600 | commented question | Could not perform 'fill' using draw contours It looked so. I wasn't sure about it. So I again performed canny, findContours, fillContours on the result from above code. The result was same as earlier. |
2015-06-09 05:20:36 -0600 | commented question | Could not perform 'fill' using draw contours @StevenPuttemans Nope. That gives the same result. |
2015-06-05 09:28:06 -0600 | asked a question | Could not perform 'fill' using draw contours Complete Code Question I have followed this tutorial for Morphological Skeleton. The input and the skeleton result are here. After performing morphological Skeleton operation, I'm processing findContours and filling it with drawContours. However the end result is not as expected. It thickens the border of each letter instead of filling. Could anyone advice what am I missing? Or do I need to perform any other operation instead of drawContours? Note: This is most likely a follow-up question of my previous one. |
2015-06-05 04:51:49 -0600 | received badge | ● Scholar (source) |
2015-06-04 09:11:56 -0600 | received badge | ● Supporter (source) |
2015-06-04 08:22:09 -0600 | commented answer | Gap filling in letters Thank you! I will try the suggested solution.. |
2015-06-04 08:09:30 -0600 | commented answer | Gap filling in letters For cvtColor code 0 is COLOR_BGR2BGRA? It works only if I change it to Grayscale. And the text "2" on top left and its background is just reversed. Is there any solution for it? |
2015-06-04 07:40:08 -0600 | commented question | Gap filling in letters @LBerger Thank you! The result image is too perfect. But I couldn't understand the xml, as I'm fairly new to opencv. Is it possible for a pseudo-code or something? |
2015-06-04 06:47:59 -0600 | received badge | ● Student (source) |
2015-06-04 05:34:58 -0600 | received badge | ● Editor (source) |
2015-06-04 01:07:34 -0600 | received badge | ● Organizer (source) |
2015-06-04 00:41:36 -0600 | asked a question | Gap filling in letters Reading text from image is a part of iOS application, I'm currently in. We are using OpenCV to process image before sending it to tesseract. I have read in an article, it is advisable to have black text on white background to achieve higher success rate in reading. By performing the following on the image (cropped & orientation fixed), we get the following result. [Step 1] http://s6.postimg.org/sflk5g9sx/step1... Now, the remaining part is filling the letters with black color. Read dilation after canny makes the border line thicker , which I thought would fill the letters inwards. But I'm proved wrong. Code: [Step 2]http://s6.postimg.org/tj5oheug1/Step2.png As another approach, I have tried to find contours and fill. Applied canny w/o dilation. Code: [Step 3]http://s6.postimg.org/yvuivjich/step3.png Which fills the inner holes. This is my first try at OpenCV, probably i'm misunderstanding the codes and its intended concept. It would be of great help, if someone could point me out the mistakes and/or in which direction i should proceed further. Regards. EDIT: UPDATED CODE (more) |