remove wrong code that change image size to fit 128 pixels
@@ -65,12 +65,12 @@ class Images:
class ACircle(Images):
def __init__(self, filename, hitcircle_cols, hitcircle_rows):
Images.__init__(self, filename)
- if self.orig_cols != hitcircle_cols or self.orig_rows != hitcircle_rows:
- cols_scale = hitcircle_cols/self.orig_cols
- rows_scale = hitcircle_rows/self.orig_rows
- self.change_size(rows_scale, cols_scale, inter_type=cv2.INTER_LINEAR)
- self.orig_cols = hitcircle_cols
- self.orig_rows = hitcircle_rows
- self.orig_img = np.copy(self.img)
- print(filename)
- print(self.orig_img.shape, self.img.shape, self.orig_cols, self.orig_rows)
+ # if self.orig_cols != hitcircle_cols or self.orig_rows != hitcircle_rows:
+ # cols_scale = hitcircle_cols/self.orig_cols
+ # rows_scale = hitcircle_rows/self.orig_rows
+ # self.change_size(rows_scale, cols_scale, inter_type=cv2.INTER_LINEAR)
+ # self.orig_cols = hitcircle_cols
+ # self.orig_rows = hitcircle_rows
+ # self.orig_img = np.copy(self.img)
+ # print(filename)
+ # print(self.orig_img.shape, self.img.shape, self.orig_cols, self.orig_rows)
