Sign inSign up

vovan/extract_subimages

By vovan

Updated over 2 years ago

https://github.com/vovanmozg/extract-subimages

Image
0

247

vovan/extract_subimages repository overview

Extract Objects from Images with transparent background

This project is a Python application that extracts and saves objects from images. It uses OpenCV and Pillow libraries to process images and extract objects based on contours.

Using
Pull docker image
docker pull vovan/extract_subimages
Create docker-compose.yml
version: '3.8'
services:
  extractor:
    build: .
    volumes:
      - ./input:/workspace/input
      - ./output:/workspace/output
      - .:/workspace
    command: python ./split.py
Place images

Place your images in the input directory. The application will process these images and save the extracted objects to the output directory.

Run
docker-compose up

Tag summary

Content type

Image

Digest

sha256:fb8e86ed0

Size

516 MB

Last updated

over 2 years ago

docker pull vovan/extract_subimages