prepare for calibration data collection
This commit is contained in:
@@ -179,9 +179,9 @@ def custom_gray_conversion(img, r_weight=0.299, g_weight=0.587, b_weight=0.114,
|
||||
# -------------------------- Test the Code --------------------------
|
||||
if __name__ == "__main__":
|
||||
# Replace with your image path
|
||||
IMAGE_PATH = "./data/new_texture.jpg"
|
||||
IMAGE_PATH = "./raw_1.jpg"
|
||||
img = cv2.imread(IMAGE_PATH)
|
||||
dx = -80
|
||||
dx = 50
|
||||
dy = 0
|
||||
tile = img[410+dy:650+dy,940+dx:1180+dx,:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user