import numpy as np
import argparse
import cv2
import mahotas

args={}
"""
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--image", required=True, help="Path to the image")
args = vars(ap.parse_args())
"""
args["image"] = "images\jp.png"

image = cv2.imread(args["image"])
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)

blur= cv2.GaussianBlur(image, (5,5), 0)
cv2.imshow("Blurred", blur)

canny = cv2.Canny(image, 60, 150)
cv2.imshow("Canny", canny)
cv2.waitKey()

cv2.destroyAllWindows()
