This repository contains code that runs pre-trained artificial neural network models in the TensorFlow
framework in Python
that have been converted to TFLite
models using the TFLite C++ API
.
Building
-
Install
TFLite
forC++
. -
Go to home directory and clone repository from github:
cd ~ && git clone https://SergeyIvanovDevelop@github.com/SergeyIvanovDevelop/QR-stego-C_plus_plus_tensorflowlite
-
Change to the project directory:
cd QR-stego-C_plus_plus_tensorflowlite
-
Run command to build the project:
make
Data embedding
- Run command:
./encoder
When the file ./encoder
is launched, the image My_QR.png
is embedded into the image input_img.png
using neural steganography, which the artificial neural network encoder_model.tflite
is trained to perform. The result of the program will be the image output_img.jpg
containing the image My_QR.png
.
Data extraction
- Run command:
./decoder
When the file ./decoder
is launched, the image My_QR.png
is extracted from the image output_img.jpg
into the image Extract_QR.png
using neural steganography, which the artificial neural network reveal_model.tflite
is trained to perform.
QR-Stego-TFLite-C++ is CC BY-NC-SA 3.0 licensed.