Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
My graduation project. Find similar pictures of a sketch.
Branch: master
Pull request Compare This branch is 3 commits behind lqhl:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
resource
src
.gitignore
README.md

README.md

PaintingFinder

The PaintingFinder is my graduation project of Shanghai Jiao Tong University. It can search similar pictures of a sketch in database. You can considered it as an implementation of MindFinder: Finding Images by Sketching. You may refer to Cao's paper for implementation details.

How to install?

I used Python 2.7 to implement the project, and I've tested it on Ubuntu 12.04 and Windows 7. To run it, the following libraries are needed: NumPy, SciPy, matplotlib, Python Image Library, Cython (optional).

Preprocessing

I use Benchmark and Boundary Detection Code on The Berkeley Segmentation Dataset and Benchmark to get sketches of pictures in the data set. To be continued... You can use my data set first.

Build Index

To build binary file (ignore it if you don't have Cython):

cd src
make

To build the index of proprocessed pictures in folder /data:

cd src
python build_index.py

It may take several minutes.

Run the Painter

To draw sketch and find similar pictures:

cd src
python painter.py
Something went wrong with that request. Please try again.