All Projects → DAI-Lab → Steganogan

DAI-Lab / Steganogan

Licence: mit
SteganoGAN is a tool for creating steganographic images using adversarial training.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Steganogan

Pytorch Pix2pix
Pytorch implementation of pix2pix for various datasets.
Stars: ✭ 74 (-40.32%)
Mutual labels:  generative-adversarial-networks
Desudesutalk
Steganography for imageboards
Stars: ✭ 100 (-19.35%)
Mutual labels:  steganography
Psgan
Periodic Spatial Generative Adversarial Networks
Stars: ✭ 108 (-12.9%)
Mutual labels:  generative-adversarial-networks
Discogan Tensorflow
An implementation of DiscoGAN in tensorflow
Stars: ✭ 82 (-33.87%)
Mutual labels:  generative-adversarial-networks
Grenade
Deep Learning in Haskell
Stars: ✭ 1,338 (+979.03%)
Mutual labels:  generative-adversarial-networks
Tbgan
Project Page of 'Synthesizing Coupled 3D Face Modalities by Trunk-Branch Generative Adversarial Networks'
Stars: ✭ 105 (-15.32%)
Mutual labels:  generative-adversarial-networks
Geneva
Code to train and evaluate the GeNeVA-GAN model for the GeNeVA task proposed in our ICCV 2019 paper "Tell, Draw, and Repeat: Generating and modifying images based on continual linguistic instruction"
Stars: ✭ 71 (-42.74%)
Mutual labels:  generative-adversarial-networks
Energy based generative models
PyTorch code accompanying our paper on Maximum Entropy Generators for Energy-Based Models
Stars: ✭ 114 (-8.06%)
Mutual labels:  generative-adversarial-networks
Giqa
Pytorch implementation of Generated Image Quality Assessment
Stars: ✭ 100 (-19.35%)
Mutual labels:  generative-adversarial-networks
Information Security Tasks
This repository is created only for infosec professionals whom work day to day basis to equip ourself with uptodate skillset, We can daily contribute daily one hour for day to day tasks and work on problem statements daily, Please contribute by providing problem statements and solutions
Stars: ✭ 108 (-12.9%)
Mutual labels:  steganography
Pentesting toolkit
🏴‍☠️ Tools for pentesting, CTFs & wargames. 🏴‍☠️
Stars: ✭ 1,268 (+922.58%)
Mutual labels:  steganography
Tweetable Polyglot Png
Pack up to 3MB of data into a tweetable PNG polyglot file.
Stars: ✭ 299 (+141.13%)
Mutual labels:  steganography
Stegonline
A web-based, accessible and open-source port of StegSolve.
Stars: ✭ 105 (-15.32%)
Mutual labels:  steganography
Stegextract
Detect hidden files and text in images
Stars: ✭ 79 (-36.29%)
Mutual labels:  steganography
Stego Toolkit
Collection of steganography tools - helps with CTF challenges
Stars: ✭ 1,693 (+1265.32%)
Mutual labels:  steganography
Pedestrian Synthesis Gan
Pedestrian-Synthesis-GAN: Generating Pedestrian Data in Real Scene and Beyond
Stars: ✭ 73 (-41.13%)
Mutual labels:  generative-adversarial-networks
Steganographer
Steganograpy in Python | Hide files or data in Image Files
Stars: ✭ 104 (-16.13%)
Mutual labels:  steganography
Gdwct
Official PyTorch implementation of GDWCT (CVPR 2019, oral)
Stars: ✭ 122 (-1.61%)
Mutual labels:  generative-adversarial-networks
Ylg
[CVPR 2020] Official Implementation: "Your Local GAN: Designing Two Dimensional Local Attention Mechanisms for Generative Models".
Stars: ✭ 109 (-12.1%)
Mutual labels:  generative-adversarial-networks
Sam
Official Implementation for "Only a Matter of Style: Age Transformation Using a Style-Based Regression Model"
Stars: ✭ 108 (-12.9%)
Mutual labels:  generative-adversarial-networks

SteganoGAN An open source project from Data to AI Lab at MIT.

PyPI Shield Travis CI Shield Coverage Status Downloads

SteganoGAN

Overview

SteganoGAN is a tool for creating steganographic images using adversarial training.

Installation

To get started with SteganoGAN, we recommend using pip:

pip install steganogan

Alternatively, you can clone the repository and install it from source by running make install:

git clone [email protected]:DAI-Lab/SteganoGAN.git
cd SteganoGAN
make install

For development, you can use the make install-develop command instead in order to install all the required dependencies for testing and linting.

NOTE SteganoGAN currently requires torch version to be 1.0.0 in order to work properly.

Usage

Command Line

SteganoGAN includes a simple command line interface for encoding and decoding steganographic images.

Hide a message inside an image

To create a steganographic image, you simply need to supply the path to the cover image and the secret message:

steganogan encode [options] path/to/cover/image.png "Message to hide"

Read a message from an image

To recover the secret message from a steganographic image, you simply supply the path to the steganographic image that was generated by a compatible model:

steganogan decode [options] path/to/generated/image.png

Additional options

The script has some additional options to control its behavior:

  • -o, --output PATH: Path where the generated image will be stored. Defaults to output.png.
  • -a, --architecture ARCH: Architecture to use, basic or dense. Defaults to dense.
  • -v, --verbose: Be verbose.
  • --cpu: force CPU usage even if CUDA is available. This might be needed if there is a GPU available in the system but the VRAM amount is too low.

WARNING: Make sure to use the same architecture specification (--architecture) during both the encoding and decoding stage; otherwise, SteganoGAN will fail to decode the message.

Python

The primary way to interact with SteganoGAN from Python is through the steganogan.SteganoGAN class. This class can be instantiated using a pretrained model:

from steganogan import SteganoGAN
steganogan = SteganoGAN.load(architecture='dense')

Once we have loaded our model, we can give it the input image path, the output image path, and the secret message:

steganogan.encode('research/input.png', 'research/output.png', 'This is a super secret message!')

This will generate an output.png image that closely resembles the input image but contains the secret message. In order to recover the message, we can simply pass output.png to the decode method:

steganogan.decode('research/output.png')
'This is a super secret message!'

Research

We provide example scripts in the research folder which demonstrate how you can train your own SteganoGAN models from scratch on arbitrary datasets. In addition, we provide a convenience script in research/data for downloading two popular image datasets.

What's next?

For more details about SteganoGAN and all its possibilities and features, please check the project documentation site!

Citing SteganoGAN

If you use SteganoGAN for your research, please consider citing the following work:

Zhang, Kevin Alex and Cuesta-Infante, Alfredo and Veeramachaneni, Kalyan. SteganoGAN: High Capacity Image Steganography with GANs. MIT EECS, January 2019. (PDF)

@article{zhang2019steganogan,
  title={SteganoGAN: High Capacity Image Steganography with GANs},
  author={Zhang, Kevin Alex and Cuesta-Infante, Alfredo and Veeramachaneni, Kalyan},
  journal={arXiv preprint arXiv:1901.03892},
  year={2019},
  url={https://arxiv.org/abs/1901.03892}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].