Text Detection through Morphology & Connected Component Labeling | Image Processing, Python OpenCV

Опубликовано: 25 Июнь 2022
на канале: Programming Epitome
2,059
29

Text Detection through Morphology & Connected Component Labeling | Image Processing, Python OpenCV
How to count number of lines in an image
How to count number of words in an image
How to detect text in an image
How to apply connected component labelling (CC Labeling) on in image.
How to color the connected components
Issue solution: Connected components labeling is giving wrong number of components

0:00 Intro
2:42 Code for text detection (merging/counting Lines)
5:06 Code for CC Labeling
6:49 Solution for Issue: Wrong number of labels returned by CC labeling
8:54 Display connected components in different colors
12:12 Code for text detection (merging/counting Words)