diff --git a/main.py b/main.py index a2c0d1f..ab09f02 100644 --- a/main.py +++ b/main.py @@ -2,16 +2,12 @@ from src.VaporSong import VaporSong from src.VHSImage import generateVHSStyle from src.VHSVideo import VHS_Vid import os -import sys import youtube_dl -import logzero from logzero import logger -from logzero import setup_logger import re import urllib.request import urllib.parse import argparse -import time version = 2.0 style = False diff --git a/src/VHSImage.py b/src/VHSImage.py index d80af92..b9042d2 100644 --- a/src/VHSImage.py +++ b/src/VHSImage.py @@ -1,18 +1,14 @@ -import requests import datetime from PIL import Image from PIL import ImageFont from PIL import ImageDraw import colorsys -import json import numpy as np import imageio import random from math import floor import os -import logzero from logzero import logger -from logzero import setup_logger import random diff --git a/src/VHSVideo.py b/src/VHSVideo.py index 17493b3..9de2d66 100644 --- a/src/VHSVideo.py +++ b/src/VHSVideo.py @@ -2,11 +2,8 @@ import os import cv2 from src.VHSImage import generateVHSStyle from os.path import isfile, join -import numpy as np import subprocess -import logzero from logzero import logger -from logzero import setup_logger def SaveVid(path): diff --git a/src/VaporSong.py b/src/VaporSong.py index 3531db7..a597018 100644 --- a/src/VaporSong.py +++ b/src/VaporSong.py @@ -4,10 +4,7 @@ import re from random import randint from sys import platform - -import logzero from logzero import logger -from logzero import setup_logger CONFIDENCE_THRESH = 0.02