This is another OpenSSE demo, supported by OpenSSE.
Note: Strictly speaking, this demo is based on search method, not recognize method now.
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
After compiled, you will have our SketchSearchDemo app under bin
folder, open it like blow:
By the way, press 'C' in sketch pad, You will clear the sketch and draw next one.
See more recognize results, click demo videos.
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_filelist
、sketches_index_file
and vocabulary
file, and then update config.json
.
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
Code is under the Apache License, Version 2.0.
I accept tips through Alipay. Scan below qr code to donate:
If you have any question or idea, please email to me.