Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
My graduation project. Find similar pictures of a sketch.
branch: master

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.


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


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

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

cd src

It may take several minutes.

Run the Painter

To draw sketch and find similar pictures:

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