Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 1.85 KB

README.md

File metadata and controls

64 lines (47 loc) · 1.85 KB

Open Sketch Recognize

This is another opensse demo, supported by opensse.

Demo - SketchRecognizeDemo

See more search results, click demo videos.

demo video

Database

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

How to use

First, you need config opensse, and include you opensse path to SketchRecognizeDemo.pro file.

include(/Users/zdd/Projects/opensse/opensse.pri)

And then, You need config params.json file depend on you path. All data are shared on my Dropbox.

{
    "searcher":
    {
        "indexfile": "/Users/zdd/Projects/opensr/data/sketchs_index_file",
        "filelist": "/Users/zdd/Projects/opensr/data/sketchs_filelist",
        "vocabulary": "/Users/zdd/Projects/opensr/data/vocabulary",
        "rootdir": "",
        "results_num": "1",
        "views_num": "1"
    }
}

Last, read your json file:

boost::property_tree::read_json("/Users/zdd/Projects/opensr/data/params.json", params); 

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.