Skip to content

jroyalty/babelimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a portable version of: https://github.com/miyasiii/libraryofbabel.info-algo

How to use

Build

docker build -t babel .

Run

docker run --rm -v $(pwd):/work -it babel /b/COMMAND

Commands are:

  • /b/search (reads $PWD/test.jpg ... outputs $PWD/pointer.txt)
  • /b/invert (reads $PWD/pointer.txt ... output $PWD/outimage.jpg)

Start with any old JPG. This demo program only accepts JPGs of exactly 640x416, so you'll probably need to convert yours.
If you have ImageMagick installed just do

convert MY_ORIG_IMAGE.jpg -resize '640x416!' test.jpg

Then run /b/search to get the pointer for this image. Then run /b/invert to get a version of the image back.

About

Library of Babel image search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages