jzyustc / MBRS

This is the source code of paper MBRS : Enhancing Robustness of DNN-based Watermarking by Mini-Batch of Real and Simulated JPEG Compression, which is received by ACM MM' 21.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decode the message

jinganglang567 opened this issue · comments

sir,sorry to bother you ,if i want to know the message the model embed,what should i do

If you want to decode the watermark from an watermarked image, you can refer to the ./test.py for details. The below code can extract watermark from noised_images

MBRS/test.py

Line 52 in c0f3176

decoded_messages = network.encoder_decoder.module.decoder(noised_images)

thank you doctor