From 5abc34015fab5b8c06159fc9db8d6efbcf67d144 Mon Sep 17 00:00:00 2001 From: Theelgirl <43764914+Theelgirl@users.noreply.github.com> Date: Fri, 16 Oct 2020 14:38:40 +0000 Subject: [PATCH] Remove numpy from imports --- fvid/fvid.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fvid/fvid.py b/fvid/fvid.py index e474ff4..e6ee2e8 100644 --- a/fvid/fvid.py +++ b/fvid/fvid.py @@ -3,7 +3,6 @@ from PIL import Image import glob from operator import sub -import numpy as np from tqdm import tqdm import binascii @@ -25,10 +24,9 @@ from Crypto.Cipher import AES try: from fvid_cython import cy_get_bits_from_image as cy_gbfi + use_cython = True except (ImportError, ModuleNotFoundError): use_cython = False -else: - use_cython = True FRAMES_DIR = "./fvid_frames/" SALT = '63929291bca3c602de64352a4d4bfe69'.encode() # It need be the same in one instance of coding/decoding