Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

SkyLightQP/oss-opencv-termproject

Repository files navigation

oss-opencv-termproject

Python OpenCV Numpy

Introduce

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)

Demo

  • Original Image

Original

  • Result

Result

  • Terminal (input watermark)

Terminal

Getting Started

  • Require Python3 (This project was test on Python3.10)
  • Require OpenCV, Numpy and Pillow for dependencies
pip install opencv-python numpy pillow

How to run

First, 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.py

And, 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).

References

About

Gachon OpenSourceSW term project with OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages