This a sample website of PyPuzzle(a Python module based on libpuzzle).
It illustrate how to:
-
build the SQL schema and how to index millions of images.
-
find a similar image from database quickly.
$ pip install flask pypuzzle
$ sqlite3 db/puzzle.db < schema.sql
. # initialize database$ python init_db.py
. # add some example images into database$ python app.py
and open127.0.0.1:5000
in browser.
- manage dependences with virtualenv.
- search by description. (done)