computervision #panopticsegmentation #instancesegmentation
- Panoptic Segmentation
- Notebook:
panoptic_segmentation.ipynb(Notebook link - Description: Identifies and extracts specific objects from images using panoptic segmentation, then composites those objects onto a transparent background.
- Platform - detectron2 by Facebook Research
- Example:
- Original Image:
/images/originals/example1.jpg(Image Source: COCO Dataset)
) - Inferred Image:
/images/output/example_panoptic.jpg
- Masked Image:
/images/outputs/example_masked.jpg
- Original Image:
- Notebook:
- Clone the repository:
git clone https://github.com/yourusername/cv-object-segmentation.git cd cv-object-segmentation - Install the required dependencies:
pip install -r requirements.txt
- Place your input images in the
root/images/originals/directory. - Run the relevant Jupyter notebook.
- Adjust the
class_namesvariable to specify the objects you want to extract. - View the results in the
root/images/masked/directory.
This project is licensed under the MIT License - see the LICENSE file for details.