Skip to content

zddhub/opensr

Repository files navigation

Open Sketch Recognize

Try via web.

This is another OpenSSE demo, supported by OpenSSE.

Note: Strictly speaking, this demo is based on search method, not recognize method now.

How to compile

After installed OpenSSE and Qt 5.1+, You can compile this like below:

cd gui/SketchRecognizeDemo
mkdir release && cd release
qmake -o Makefile ../SketchRecognizeDemo.pro
make

Demo - SketchRecognizeDemo

After compiled, you will have our SketchSearchDemo app under bin folder, open it like blow:

Sketch recognize demo

By the way, press 'C' in sketch pad, You will clear the sketch and draw next one.

See more recognize results, click demo videos.

Database

Sketch database comes from Mathias Eitz's paper How Do Humans Sketch Objects? ACM Transactions on Graphics (Proc. SIGGRAPH 2012).

If you want to train your database, please refer to OpenSSE Wiki, you will get your own sketches_filelistsketches_index_file and vocabulary file, and then update config.json.

Play with Tensorflow

I have already extracted features from Eitz's database under data folder. sketches includes 20000 images x 1000bins, the feature is based on bag of words, not pure feature.

If you install Tensorflow and you can play with:

python3 trytf.py

Thanks

License

Code is under the Apache License, Version 2.0.

Donations

I accept tips through Alipay. Scan below qr code to donate:

Alipay

Contact me

If you have any question or idea, please email to me.