          """ Draw the facial landmarks """
          color = self.colors[color_id]
          for alignment in self.alignments:
              landmarks = alignment["landmarksXY"]
              for key, val in FACIAL_LANDMARKS_IDXS.items():
                  points = np.array([landmarks[val[0]:val[1]]], np.int32)
                  fill_poly = bool(key in ("right_eye", "left_eye", "mouth"))
                  cv2.polylines(self.image,  # pylint: disable=no-member
                                points,
 
</s> remove                 points = array([landmarks[val[0]:val[1]]], int32)
 </s> add                 points = np.array([landmarks[val[0]:val[1]]], np.int32) </s> remove                 polylines(self.image, points, fill_poly, color, thickness)
 </s> add                 cv2.polylines(self.image,  # pylint: disable=no-member
                              points,
                              fill_poly,
                              color,
                              thickness) </s> remove                 circle(self.image, (pos_x, pos_y), radius, color, -1)
 </s> add                 cv2.circle(self.image,  # pylint: disable=no-member
                           (pos_x, pos_y),
                           radius,
                           color,
                           -1) </s> remove             putText(self.image, str(idx), top_left, FONT_HERSHEY_DUPLEX, 1.0,
                    color, thickness)
            polylines(self.image, [roi], True, color, thickness)
 </s> add             cv2.putText(self.image,  # pylint: disable=no-member
                        str(idx),
                        top_left,
                        cv2.FONT_HERSHEY_DUPLEX,  # pylint: disable=no-member
                        1.0,
                        color,
                        thickness)
            cv2.polylines(self.image, [roi], True, color, thickness)  # pylint: disable=no-member
            logger.trace("Drawing Landmarks Mesh: (landmarks: %s, color: %s, thickness: %s)",
                         landmarks, color, thickness)
          """ Draw the facial landmarks """
          color = self.colors[color_id]
          for alignment in self.alignments:
              landmarks = alignment["landmarksXY"]
            logger.trace("Drawing Landmarks Mesh: (landmarks: %s, color: %s, thickness: %s)",
                         landmarks, color, thickness)
              for key, val in FACIAL_LANDMARKS_IDXS.items():
                  points = np.array([landmarks[val[0]:val[1]]], np.int32)
                  fill_poly = bool(key in ("right_eye", "left_eye", "mouth"))
                  cv2.polylines(self.image,  # pylint: disable=no-member
                                points,
keep keep keep add keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
tools/lib_alignments/annotate.py