Skip to content

Commit

Permalink
Merge pull request nadermx#76 from Olshansk/main
Browse files Browse the repository at this point in the history
Added another background remover example
  • Loading branch information
nadermx authored May 26, 2023
2 parents e29385e + 8213e69 commit a201c35
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
11 changes: 11 additions & 0 deletions examplefiles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Examples

This directory contains examples created using this library.

## Combine Images Using ffmpeg

Using the following command (assuming ffmpeg is installed) to combined `img1.jpg` and `img2.jpg` into a single side-by-side.

```bash
ffmpeg -i img1.jpg -i img2.jpg -filter_complex "[0:v]scale=iw/2:-1,pad=2*iw[left];[1:v]scale=iw/2:-1[right];[left][right]overlay=w" output.jpg
```
Binary file added examplefiles/backgroundremoverexample2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a201c35

Please sign in to comment.