Add debugging option for drawing landmarks on face extraction.
diff --git a/scripts/extract.py b/scripts/extract.py
index e59bfad0d0..972806b37a 100644
--- a/scripts/extract.py
+++ b/scripts/extract.py
@@ -37,6 +37,12 @@ def add_optional_arguments(self, parser):
                             type=int,
                             default=1,
                             help="Number of processes to use.")
+        
+        parser.add_argument('-dl', '--debug-landmarks',
+                            action="store_true",
+                            dest="debug_landmarks",
+                            default=False,
+                            help="Draw landmarks for debug.")
         return parser
 
     def process(self):
@@ -73,7 +79,12 @@ def handleImage(self, image, filename):
         rvals = []
         for idx, face in faces:
             count = idx
-
+             
+            # Draws landmarks for debug
+            if self.arguments.debug_landmarks:
+                for (x, y) in face.landmarksAsXY():
+                    cv2.circle(image, (x, y), 2, (0, 0, 255), -1)
+                    
             resized_image = self.extractor.extract(image, face, 256)
             output_file = get_folder(self.output_dir) / Path(filename).stem
             cv2.imwrite(str(output_file) + str(idx) + Path(filename).suffix, resized_image)
