          color = self.colors[color_id]
          for alignment in self.alignments:
              landmarks = alignment["landmarksXY"]
              for (pos_x, pos_y) in landmarks:
                  circle(self.image, (pos_x, pos_y), radius, color, -1)
  
      def draw_landmarks_mesh(self, color_id=4, thickness=1):
          """ Draw the facial landmarks """
          color = self.colors[color_id]
          for alignment in self.alignments:
 
</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 </s> remove                 points = array([landmarks[val[0]:val[1]]], int32)
 </s> add                 points = np.array([landmarks[val[0]:val[1]]], np.int32) </s> remove         self.image = zeros((height, width, 3), uint8)
 </s> add         self.image = np.zeros((height, width, 3), np.uint8)
                cv2.circle(self.image,  # pylint: disable=no-member
                           (pos_x, pos_y),
                           radius,
                           color,
                           -1)
          color = self.colors[color_id]
          for alignment in self.alignments:
              landmarks = alignment["landmarksXY"]
              for (pos_x, pos_y) in landmarks:
                cv2.circle(self.image,  # pylint: disable=no-member
                           (pos_x, pos_y),
                           radius,
                           color,
                           -1)
  
      def draw_landmarks_mesh(self, color_id=4, thickness=1):
          """ Draw the facial landmarks """
          color = self.colors[color_id]
          for alignment in self.alignments:
keep keep keep keep replace 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