  from datetime import datetime
  from typing import TYPE_CHECKING, Optional, List
  
  import cv2
  import numpy as np
  from scipy import signal
  from sklearn import decomposition
  from tqdm import tqdm
  
 
</s> remove from lib.image import encode_image, generate_thumbnail, ImagesSaver, update_existing_metadata
 </s> add from lib.image import (encode_image, generate_thumbnail, ImagesSaver,
                       read_image_meta_batch, update_existing_metadata) </s> remove     import argparse
 </s> add 
from argparse import Namespace

  from datetime import datetime
  from typing import TYPE_CHECKING, Optional, List
  
from argparse import Namespace

  import cv2
  import numpy as np
  from scipy import signal
  from sklearn import decomposition
  from tqdm import tqdm
  
keep keep add keep keep keep keep keep keep
 alignments tool - Add from-faces job
  - Allows user to regenerate alignments file(s) from a folder of extracted faces 
tools/alignments/jobs.py