Skip to content

piyushpathak03/Image-segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Image-segmentation

1. Segmenting the images with the help of pixellib

PixelLib is a library created for performing image and video segmentation using few lines of code. It is a flexible library created to allow easy integration of image and video segmentation into software solutions. Pixellib is a library for performing segmentation of objects in images and videos. It supports the two major types of image segmentation:

1.Semantic segmentation

2.Instance segmentation

Step:1

Download the model file with predefined coco.h5

Step:2 Install the requirements.txt in local

Step:3

Input image

Input image of crowd

Input image of market

Step:3

import pixellib
from pixellib.instance import instance_segmentation
segment_image = instance_segmentation()
segment_image.load_model("mask_rcnn_coco.h5") 
segment_image.segmentImage("input.jpg", show_bboxes = True, output_image_name = "output.jpg")

Output image

Output image of crowd after segmentation

Output image of crowd after segmentation

About me

Piyush Pathak

PORTFOLIO

GITHUB

BLOG

📫 Follw me:

Linkedin Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages