mirror of https://github.com/AlfredoSequeida/fvid
Remove numpy from imports
This commit is contained in:
parent
1c04aea5a0
commit
5abc34015f
|
@ -3,7 +3,6 @@ from PIL import Image
|
||||||
import glob
|
import glob
|
||||||
|
|
||||||
from operator import sub
|
from operator import sub
|
||||||
import numpy as np
|
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
import binascii
|
import binascii
|
||||||
|
@ -25,10 +24,9 @@ from Crypto.Cipher import AES
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from fvid_cython import cy_get_bits_from_image as cy_gbfi
|
from fvid_cython import cy_get_bits_from_image as cy_gbfi
|
||||||
|
use_cython = True
|
||||||
except (ImportError, ModuleNotFoundError):
|
except (ImportError, ModuleNotFoundError):
|
||||||
use_cython = False
|
use_cython = False
|
||||||
else:
|
|
||||||
use_cython = True
|
|
||||||
|
|
||||||
FRAMES_DIR = "./fvid_frames/"
|
FRAMES_DIR = "./fvid_frames/"
|
||||||
SALT = '63929291bca3c602de64352a4d4bfe69'.encode() # It need be the same in one instance of coding/decoding
|
SALT = '63929291bca3c602de64352a4d4bfe69'.encode() # It need be the same in one instance of coding/decoding
|
||||||
|
|
Loading…
Reference in New Issue