diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..0f96ae18 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 1e60df59..54af1839 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/rotateImage.py b/rotateImage.py index 96ed8b30..0fe2637a 100644 --- a/rotateImage.py +++ b/rotateImage.py @@ -1,4 +1,5 @@ import cv2 +import os # read image as grey scale @@ -37,5 +38,5 @@ def rotateFunction(img): if __name__ == '__main__': - image = "C:\\Users\\KSHITIJ\\PycharmProjects\\rotateImage\\virat.jpg" - rotateFunction(image) \ No newline at end of file + image = os.getcwd() + "rotateImage\\virat.jpg" + rotateFunction(image)