Skip to content

Codec

Currently supported steganography algorithms (codecs).

Weights

Some deep learning-based codec require training. We provide additional weights that are used in their original implementations. When not available, we try our best to reproduce results claimed in their original papers. Weights are available for download at GitHub Release - Pretrained weights (weights-v0.1.0).

Full list of supported codecs

[TODO]

Loading a codec by its name

To load a steganography codec with its name, or without explicitly instanciating the class, we support the method create_stego().

stegobox.codec.create_stego(codec, *args, **kwargs)

Source code in stegobox/codec/__init__.py
def create_stego(codec: str, *args, **kwargs) -> BaseCodec:
    if codec not in _codec_mappings:
        raise KeyError(f"Codec {codec} not found.")
    return _codec_mappings[codec](*args, **kwargs)