Added another background remover example

This commit is contained in:
Daniel Olshansky 2023-05-20 17:37:25 -07:00
parent ee94207cfb
commit 8213e69258
3 changed files with 12 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

11
examplefiles/README.md Normal file
View File

@ -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 not shown.

After

Width:  |  Height:  |  Size: 202 KiB