You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
376 B

3 years ago
import sys
import cv2
from run import process
"""
main.py
How to run:
python3 main.py
"""
# ------------------------------------------------- main()
def main():
#Read input image
dress = cv2.imread("input.png")
#Process
watermark = process(dress)
# Write output image
cv2.imwrite("output.png", watermark)
#Exit
sys.exit()
if __name__ == '__main__':
main()