Detect a person, Change only background image and Add a watermark.
- Detect a person (Han Seunggyu)
- Detect and Remove a background (Hwang Sungwook)
- Change to other background. (Ha Daegyeom)
- Add a watermark. (Cho Hyunjun)
- Original Image
- Result
- Terminal (input watermark)
- Require Python3 (This project was test on Python3.10)
- Require OpenCV, Numpy and Pillow for dependencies
pip install opencv-python numpy pillowFirst, Add two images: an Input image and A background image of what you want to change.
- The Default filenames are input.png and background.png
Second, Run main source code.
py main.pyAnd, Enter a text that you want to put as a watermark.
Enter the background country name : <Your Input>Finally, Show a result image and save(result.jpg).
- Facial Recognition
- Detect and Remove a background
- Change a background
- Resize image (because copyTo() can use when the image size is the same.)
- copyTo() function
- Draw a watermark
- Convert to PIL image from OpenCV image


