Skip to content

This is a demo project for libpuzzle. The project shows how to use sql-like database to index millions of images.

Notifications You must be signed in to change notification settings

alsotang/libpuzzle_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

This is a demo project for libpuzzle. The project shows how to use sql-like database to index millions of images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages