YassineYousfi
commited on
Commit
·
46444c7
1
Parent(s):
9740771
even lower payload
Browse files
stc.py
CHANGED
@@ -71,7 +71,7 @@ def decrypt(cipher_text, password):
|
|
71 |
|
72 |
|
73 |
|
74 |
-
def embed(input_img_path, cost_matrix, msg_file_path, password, output_img_path, payload=0.
|
75 |
|
76 |
me = os.path.abspath(os.path.dirname(__file__))
|
77 |
lib = cdll.LoadLibrary(os.path.join(me, "lib", "stc.so"))
|
@@ -139,7 +139,7 @@ def embed(input_img_path, cost_matrix, msg_file_path, password, output_img_path
|
|
139 |
|
140 |
|
141 |
|
142 |
-
def extract(stego_img_path, password, output_msg_path, payload=0.
|
143 |
|
144 |
me = os.path.abspath(os.path.dirname(__file__))
|
145 |
lib = cdll.LoadLibrary(os.path.join(me, "lib", "stc.so"))
|
|
|
71 |
|
72 |
|
73 |
|
74 |
+
def embed(input_img_path, cost_matrix, msg_file_path, password, output_img_path, payload=0.10):
|
75 |
|
76 |
me = os.path.abspath(os.path.dirname(__file__))
|
77 |
lib = cdll.LoadLibrary(os.path.join(me, "lib", "stc.so"))
|
|
|
139 |
|
140 |
|
141 |
|
142 |
+
def extract(stego_img_path, password, output_msg_path, payload=0.10):
|
143 |
|
144 |
me = os.path.abspath(os.path.dirname(__file__))
|
145 |
lib = cdll.LoadLibrary(os.path.join(me, "lib", "stc.so"))
|