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 e17291c

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Ghost filter/Ghost filter code.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
frommatplotlibimport pyplot as plt
1+
import matplotlib.pyplot as plt
22
import numpy as np
33
import cv2
44
# take path of the image as input
@@ -31,4 +31,5 @@
3131
plt.figure(figsize= (10,10))
3232
plt.imshow(array)
3333
plt.axis('off')
34+
plt.savefig("squares.png")
3435
plt.show() #real ghost filtered photo

0 commit comments

Comments
(0)

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