SelimSavas / segment-anything-and-yolov8

Object segmentation in collaboration with Segment Anyting Model and Yolov8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segment Anything and YoloV8 Collaboration

This project is a collaboration between Segment Anything and YOLOv8 algorithms, focusing on object segmentation. The goal of the project is to automatically identify and segment objects in images, providing region-specific highlights.

Note: Also, if you want to segment low light images by illuminating them, you can refer to my Low-light-segmentation work.

image

Open In Colab

Installation

To run this project locally, please follow the steps below:

  1. Clone this repository:
!git clone https://github.com/SelimSavas/segment-anything-and-yolov8.git
  1. Install the required dependencies (Do this if you are using colab. If you are working in your external environment, pay special attention to the installations required):
!pip install -r requirements.txt
  1. Run the project:

To perform image segmentation, you can use the provided Colab notebook: SAMandYOLOv8.ipynb.

For video segmentation, you can utilize the Colab notebook: SAMandYOLOv8video.ipynb.

If you prefer to run the video segmentation on your own local environment, execute the following command:

!python SAMandYOLOv8video.py

Results

Here are some example results from the project:

Image Segmentation

image

Video Segmentation

result2.online-video-cutter.com.mp4

Contributing

Contributions to this project are always welcome. If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the Apache Licene. See the LICENSE file for more information.

Acknowledgements

We would like to express our gratitude to the creators of Segment Anything and YOLOV8 for their invaluable contributions to the field of computer vision and object segmentation.

Contact

For any questions or inquiries, please contact 16savasselim@gmail.com

Feel free to explore and use this project for your own applications. Happy segmenting!

You can throw a star to support.

About

Object segmentation in collaboration with Segment Anyting Model and Yolov8

License:Apache License 2.0


Languages

Language:Jupyter Notebook 98.9%Language:Python 1.1%