  
  from pathlib import Path
  from lib.FaceFilter import FaceFilter
  from lib.faces_detect import detect_faces, DetectedFace
  from lib.utils import get_image_paths, get_folder
  from lib import Serializer
  
  class FullPaths(argparse.Action):
      """Expand user- and relative-paths"""
  
 
</s> remove from lib.cli import DirectoryProcessor
 </s> add from lib.cli import DirectoryProcessor, rotate_image </s> remove from lib.utils import BackgroundGenerator, get_folder, get_image_paths
 </s> add from lib.utils import BackgroundGenerator, get_folder, get_image_paths, rotate_image </s> remove def detect_faces(frame, model="hog"):
 </s> add def detect_faces(frame, rotation=0, model="hog"): </s> remove     def get_faces(self, image):
 </s> add     def get_faces(self, image, rotation=0):
from lib.utils import get_image_paths, get_folder, rotate_image
  
  from pathlib import Path
  from lib.FaceFilter import FaceFilter
  from lib.faces_detect import detect_faces, DetectedFace
from lib.utils import get_image_paths, get_folder, rotate_image
  from lib import Serializer
  
  class FullPaths(argparse.Action):
      """Expand user- and relative-paths"""
  
keep keep keep keep replace keep keep keep keep keep
 Add image rotation for detecting more faces and dealing with awkward angles (#253)

* Image rotator for extract and convert ready for testing

* Revert "Image rotator for extract and convert ready for testing"

This reverts commit bbeb19ef26d2392b0f5f954dd202137a70444d4e.

Error in extract code

* add image rotation support to detect more faces

* Update convert.py

Amended to do a single check for for rotation rather than checking twice. Performance gain is likely to be marginal to non-existent, but can't hurt.

* Update convert.py

remove type

* cli.py: Only output message on verbose. Convert.py: Only check for rotation amount once

* Changed command line flag to take arguments to ease future development

* Realigning for upstream/Master

* Minor fix 
lib/cli.py