  import cv2
  from pathlib import Path
  
  from lib.utils import get_image_paths, get_folder, FullPaths
  from lib.faces_detect import crop_faces
  
  parser = argparse.ArgumentParser(
 
</s> remove from lib.utils import get_image_paths, get_folder
 </s> add from lib.utils import get_image_paths, get_folder, FullPaths </s> remove output_dir = get_folder('extract')
 </s> add parser = argparse.ArgumentParser(
    description='Extracts faces from a collection of pictures and saves them to a separate directory',
    epilog="Questions and feedback: https://github.com/deepfakes/faceswap-playground"
) </s> remove images_SRC = get_image_paths('src')
 </s> add parser.add_argument('-i', '--input-dir',
                    action=FullPaths,
                    dest="input_dir",
                    default="src",
                    help="Input directory. A directory containing the files \
                    you wish to extract faces from. Defaults to 'src'")
parser.add_argument('-o', '--output-dir',
                    action=FullPaths,
                    dest="output_dir",
                    default="extract",
                    help="Output directory. This is where the cropped faces will \
                    be stored. Defaults to 'extract'")
parser.add_argument('-v', action="store_true", dest="verbose", default=False, help="Show verbose output")

arguments = parser.parse_args()

print("Input Directory: {}".format(arguments.input_dir))
print("Output Directory: {}".format(arguments.output_dir))
print('Starting, this may take a while...')

output_dir = get_folder(arguments.output_dir)
try:
    images_SRC = get_image_paths(arguments.input_dir)
except FileNotFoundError:
    print('Input directory not found. Please ensure it exists.')
    exit(1)

verify_output = False
images_found = len(images_SRC)
images_processed = 0
faces_detected = 0
import os
  import cv2
  from pathlib import Path
import os
  
  from lib.utils import get_image_paths, get_folder, FullPaths
  from lib.faces_detect import crop_faces
  
  parser = argparse.ArgumentParser(
keep add keep keep keep keep keep
 Add command line options to extract.py (#12) 
extract.py