Demos: Remove sys.path appends and unused dlib imports.
This commit is contained in:
parent
ec6aa45d89
commit
fbde622805
|
@ -24,7 +24,6 @@ start = time.time()
|
|||
|
||||
import argparse
|
||||
import cv2
|
||||
import dlib
|
||||
import itertools
|
||||
import os
|
||||
import pickle
|
||||
|
@ -37,7 +36,6 @@ import pandas as pd
|
|||
|
||||
import sys
|
||||
fileDir = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.append(os.path.join(fileDir, ".."))
|
||||
|
||||
import openface
|
||||
import openface.helper
|
||||
|
|
|
@ -24,7 +24,6 @@ start = time.time()
|
|||
|
||||
import argparse
|
||||
import cv2
|
||||
import dlib
|
||||
import itertools
|
||||
import os
|
||||
|
||||
|
@ -33,7 +32,6 @@ np.set_printoptions(precision=2)
|
|||
|
||||
import sys
|
||||
fileDir = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.append(os.path.join(fileDir, ".."))
|
||||
|
||||
import openface
|
||||
import openface.helper
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
import sys
|
||||
sys.path.append(".")
|
||||
sys.path.append("/home/bamos/src/dlib-18.16/python_examples")
|
||||
|
||||
import argparse
|
||||
import numpy as np
|
||||
|
|
Loading…
Reference in New Issue