Skip to content
This is a demo project for libpuzzle. The project shows how to use sql-like database to index millions of images.
Python
Find file
Latest commit e60e263 @alsotang Update README.md
add `requirements'
fix `how to use'

README.md

libpuzzle DEMO

This a sample website of PyPuzzle(a Python module based on libpuzzle).

It illustrate how to:

  1. build the SQL schema and how to index millions of images.

  2. find a similar image from database quickly.

Requirements

  1. $ pip install flask pypuzzle

How to use:

  1. $ sqlite3 db/puzzle.db < schema.sql. # initialize database
  2. $ python init_db.py. # add some example images into database
  3. $ python app.py and open 127.0.0.1:5000 in browser.

TODO

  1. manage dependences with virtualenv.
  2. search by description. (done)
Something went wrong with that request. Please try again.