/image-segmentation-OTSU

Segment images using otsu thresholding

Primary LanguageJupyter Notebook

Foreground object extraction

There are multiple objects in the image captured.Image segmentation is necessary for extracting objects from background.For extracting objects from background we use thresholding using Otsu’s method and Grab cut.Both are functions available in OpenCV library.Otsu’s thresholding method convert input image to its binary. Application- To use this method together with a classifier on assembly lines for inspecting availablity of each child parts for assembling a part.

input

input

OTSU output

index

Extracted objects in bounding box

index4