When a network is not available or allowed (e.g., air gap), all benefits of digital communication and the Internet disappear. To enable substantial data transmission, techniques are described herein for using Machine Learning to embed data into color images and to read it with camera-equipped devices. In addition to data transmission, this enables new applications such as embedding of content on packaging (instructions or runnable code and configurations directly on devices), physical documents with selective encryption (role-based permission to read parts of a document), protection from digital tracking, prevention of tampering on physical documents, and more