  from lib.detect_blur import is_blurry
  from lib import Serializer
  from lib.faces_detect import detect_faces, DetectedFace
  from lib.FaceFilter import FaceFilter
  from lib.utils import get_folder, get_image_paths, set_system_verbosity
  from plugins.PluginLoader import PluginLoader
  
  
  class Utils():
      """ Holds utility functions that are required by more than one media
 
</s> remove # TODO Remove whole frames from alignments file
import os
import pickle
import struct
from datetime import datetime

from cv2 import circle, imread, imwrite, rectangle
from tqdm import tqdm

from lib import Serializer
from lib.utils import _image_extensions
from plugins.PluginLoader import PluginLoader
 </s> add from lib.utils import set_system_verbosity
from .lib_alignments import (AlignmentData, Check, Draw, Extract, Manual,
                             Reformat, RemoveAlignments, Rotate, Sort) </s> remove from .detectors import DLibDetector, MTCNNDetector
 </s> add from .detectors import DLibDetector, MTCNNDetector, ManualDetector
from lib.utils import (get_folder, get_image_paths, rotate_image_by_angle,
                       set_system_verbosity)
  from lib.detect_blur import is_blurry
  from lib import Serializer
  from lib.faces_detect import detect_faces, DetectedFace
  from lib.FaceFilter import FaceFilter
from lib.utils import (get_folder, get_image_paths, rotate_image_by_angle,
                       set_system_verbosity)
  from plugins.PluginLoader import PluginLoader
  
  
  class Utils():
      """ Holds utility functions that are required by more than one media
keep keep keep keep replace keep keep keep keep keep
 Alignments Tool - Manual (#503)

* Initial alignment tool implementation

* Add face processing. Fix helptext formatting for cli and gui

* Extract faces from alignments file

* Add draw landmarks

* fix analysis hours past 24 bug

* Remove tools flag. Enlarge GUI tooltips

* Add filename extension check for image folders

* Fix folder nonetype bug and linting

* Bugfix renaming of faces

* Import alignments from DeepFaceLab

* Remove frames requirement for dfl

* Alignments Tool: Add remove frames

* Alignments: Add remove frames (#492)

* Alignments Tool: Add remove frames

* Implement Frame display for manual extract

* Alignments refactor

* Further navigation improvements

* Further navigation improvements

* Alignment Tool: Refactor

* Move rotate_image_by_angle() to utils

* Further refactoring improvements

* Reduce key bindings. Add skip to has faces, Add resize frame binding

* More navigation options. Delete faces added. Save alignments added

* Add: Reload alignments. Add extra api calls. Better redraw handling.

* Manual Alignments - Alpha Build

* Rotate landmarks for rotated images

* Rebase to remove OriginalHiRes changes 
scripts/fsmedia.py