Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alsotang/libpuzzle_demo
- Owner: alsotang
- Created: 2013-05-07T15:18:44.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-08T04:41:08.000Z (over 11 years ago)
- Last Synced: 2024-05-02T01:10:38.781Z (8 months ago)
- Language: Python
- Size: 1.29 MB
- Stars: 14
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)