https://github.com/capjamesg/image-collage

Generate an image collage with computer vision.

https://github.com/capjamesg/image-collage

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.1%) to scientific vocabulary

Keywords

art computer-vision python zero-shot-object-detection
Last synced: 6 months ago · JSON representation

Repository

Generate an image collage with computer vision.

Basic Info
  • Host: GitHub
  • Owner: capjamesg
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 7.81 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
art computer-vision python zero-shot-object-detection
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

Image Collage Generator

Generate a collage of images where a specific object of interest is focused.

This project uses a zero-shot object detection model, Grounding DINO, to identify regions corresponding to objects of interest. These regions are then cropped and stitched together into a collage.

Here is an example of a collage generated by this project:

grid

Usage

First, install this project from source:

git clone https://github.com/capjamesg/image-collage cd image-collage pip3 install -r requirements.txt

To generate a collage, run:

python3 app.py --input_images=folder/with/images --prompt="object" --confidence=0.7

Above, set:

  • input_images to the name of a directory with all the images you want to stich together into a collage.
  • prompt to the object of interest you want to identify.
  • confidence to the minimum confidence a model prediction must be to be considered for inclusion in the image collage.

License

This project is licensed under an MIT license.

Owner

  • Name: James
  • Login: capjamesg
  • Kind: user
  • Location: Scotland
  • Company: @Roboflow

from words, wonder.

GitHub Events

Total
Last Year

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 5
  • Total Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
James 3****g 5

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • numpy *
  • opencv-python *
  • supervision *
  • tqdm *