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 6dc5a8b

Browse files
authored
Update Ghost filter code.py
1 parent 0d119d8 commit 6dc5a8b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎Ghost filter/Ghost filter code.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
from matplotlib import pyplot as plt
22
import numpy as np
33
import cv2
4-
img = cv2.imread('Real Photo.jpg') #name of the image
4+
5+
img_path = r"C:\Users\akrit\OneDrive\Desktop\GSSOC'21\ghost_image\Images\hehe.jpg" #path of the image
6+
img = cv2.imread(img_path)
7+
58
#plt.imshow(img)
69
#plt.show()
710
image = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

0 commit comments

Comments
(0)

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