Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 46c01a3

Browse files
authored
Update Ghost filter code.py
1 parent 3aea18d commit 46c01a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Ghost filter/Ghost filter code.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from matplotlib import pyplot as plt
22
import numpy as np
33
import cv2
4-
5-
img_path = r"path/of/the/image" #path of the image
4+
# take path of the image as input
5+
img_path = input() #example -> C:\Users\xyz\OneDrive\Desktop\project\image.jpg
66
img = cv2.imread(img_path)
77

88
#plt.imshow(img)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /