Skip to content

Commit fb091c0

Browse files
author
CodeSaint98
committed
the files need to be recognised
1 parent a11d4e0 commit fb091c0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from estimate_watermark import *
2-
from preprocess import *
3-
from image_crawler import *
4-
from watermark_reconstruct import *
1+
from .estimate_watermark import *
2+
from .preprocess import *
3+
from .image_crawler import *
4+
from .watermark_reconstruct import *

src/watermark_reconstruct.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import scipy
55
from scipy.sparse import *
66
from scipy.sparse import linalg
7-
from estimate_watermark import *
8-
from closed_form_matting import *
7+
from .estimate_watermark import *
8+
from .closed_form_matting import *
99
from numpy import nan, isnan
1010

1111
def get_cropped_images(foldername, num_images, start, end, shape):
@@ -302,4 +302,4 @@ def changeContrastImage(J, I):
302302
cI2 = I[-1,-1, :]
303303

304304
I_m = cJ1 + (I-cI1)/(cI2-cI1)*(cJ2-cJ1)
305-
return I_m
305+
return I_m

0 commit comments

Comments
 (0)