Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alsotang/libpuzzle_demo

This is a demo project for libpuzzle. The project shows how to use sql-like database to index millions of images.
https://github.com/alsotang/libpuzzle_demo

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.

1. 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
1. `$ python init_db.py`. # add some example images into database
1. `$ python app.py` and open `127.0.0.1:5000` in browser.

## TODO

1. manage dependences with virtualenv.
2. search by description. (done)